•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 422,820 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,288 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 2317 | Replies: 4
![]() |
•
•
Join Date: May 2004
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Crazy notions
Time Limit: 1.0 second
Memory Limit: 1 000 КБ
For five days robot-loader JK546L54p has been buried under the thick layer of the Sibelian plutonium slag. The terrible strike of the atmospheric electricity has led to the depressurization of the robot’s fuel elements. Who will examine this heap of fused, broken metal here, where there is no any robot technician even at distance of a hundred parsecs? Robot-commissar even did not try to investigate what happened with JK546L54p. He ordered to throw him out into dumps and that is all. Nobody noticed that positron brains of JK546L54p were still working. If only the robopsychologist was here with JK546L54p! Of course, he would be killed with the hard gamma radiation in a moment, but… If he attached the visualizer of thoughts to the fused connectors of JK546L54p! He would see the strange performance. Robot was creating! No, I am not joking. He was investigating. Semi casual objects arose in his mind, and he examined them. Crazy properties, crazy theorems.
Besides, here is an example. Let’s take an expression 1n+2n+3n+4n. With how mach zeros ends its decimal notation? JK546L54p solved this problem, and you, student, could you?
Input
In the input there is only one positive integer number n (n <= 300000).
Output
Ð?а выходе должно Ñ?одержатьÑ?Ñ? единÑ?твенное чиÑ?ло – чиÑ?ло нулей, на которые оканчиваетÑ?Ñ? деÑ?Ñ?тичнаÑ? запиÑ?ÑŒ.
Sample Input
Sample input #1
1
Sample input #2
3
Sample Output
Sample output #1
1
Sample output #2
2
Time Limit: 1.0 second
Memory Limit: 1 000 КБ
For five days robot-loader JK546L54p has been buried under the thick layer of the Sibelian plutonium slag. The terrible strike of the atmospheric electricity has led to the depressurization of the robot’s fuel elements. Who will examine this heap of fused, broken metal here, where there is no any robot technician even at distance of a hundred parsecs? Robot-commissar even did not try to investigate what happened with JK546L54p. He ordered to throw him out into dumps and that is all. Nobody noticed that positron brains of JK546L54p were still working. If only the robopsychologist was here with JK546L54p! Of course, he would be killed with the hard gamma radiation in a moment, but… If he attached the visualizer of thoughts to the fused connectors of JK546L54p! He would see the strange performance. Robot was creating! No, I am not joking. He was investigating. Semi casual objects arose in his mind, and he examined them. Crazy properties, crazy theorems.
Besides, here is an example. Let’s take an expression 1n+2n+3n+4n. With how mach zeros ends its decimal notation? JK546L54p solved this problem, and you, student, could you?
Input
In the input there is only one positive integer number n (n <= 300000).
Output
Ð?а выходе должно Ñ?одержатьÑ?Ñ? единÑ?твенное чиÑ?ло – чиÑ?ло нулей, на которые оканчиваетÑ?Ñ? деÑ?Ñ?тичнаÑ? запиÑ?ÑŒ.
Sample Input
Sample input #1
1
Sample input #2
3
Sample Output
Sample output #1
1
Sample output #2
2
•
•
Join Date: May 2004
Location: Egypt - Cairo
Posts: 130
Reputation:
Rep Power: 5
Solved Threads: 2
Just asking Blood Night: What does output say?
what does 1n mean 1*n or 1n as a number; what do you mean???
( for all interested my e-mail is yuri@fx.ro-could you send answer here? )
what does 1n mean 1*n or 1n as a number; what do you mean???
( for all interested my e-mail is yuri@fx.ro-could you send answer here? )
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- How do i make a dating site (Site Layout and Usability)
- Anyone interested in learning to invest? (IT Careers and Business)
- Interested in Reciprocal Link Exchange with PR3 and PR5 sites (Relevant Link Exchanges)
- Anyone interested in adjusting a photo for me? (Graphics and Multimedia)
- Anyone interested in opening a local office for SEO? (Internet Marketing Job Offers)
- PHP Programmer interested in an existing project? Game! =o] (PHP)
Other Threads in the C++ Forum
- Previous Thread: How to write a header file
- Next Thread: passing objects as arguments


Linear Mode