In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail the difference between the C++ array inside and outside the main function. The content of the article is of high quality, so the editor shares it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
First, let's take a look at a small question. Fill in the third question in Group B of the 10th Blue Bridge Cup Provincial Competition.
Question C: sequence evaluation
Total score of this question: 10 points
[problem description]
Given sequence 1, 1, 1, 3, 5, 9, 17,... Starting with item 4, each item is the sum of the first three. Find the last four digits of item 20190324.
[answer submission]
This is a question with the results filled in the blanks, you just need to work out the results and submit them. The result of this question is a 4-digit integer (hint: the thousand digits of the answer is not 0). Fill in only this integer when submitting the answer, and you will not be able to score if you fill in the redundant content.
Train of thought
Obviously, the idea of this topic is clear and clear, that is, it is calculated continuously, and then the modular operation of 10000 is carried out to get the last four-digit integers.
Error code # includeusing namespace std;const int MOD=10000;int main () {int a [20190324] = {0flore 1rect 1}; / a [0] is 0 so that the subscript is consistent with the serial number for (int item4polii
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.