943,375 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 4174
  • C++ RSS
May 27th, 2004
2

have a try if you are interested in...

Expand Post »
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
Similar Threads
Reputation Points: 12
Solved Threads: 0
Newbie Poster
Blood Night is offline Offline
3 posts
since May 2004
May 27th, 2004
0

Re: have a try if you are interested in...

hope to find some comrades and communicate sth with ya
Reputation Points: 12
Solved Threads: 0
Newbie Poster
Blood Night is offline Offline
3 posts
since May 2004
May 28th, 2004
2

Re: have a try if you are interested in...

I Donno .. Is this realted to C++ ???
Team Colleague
Reputation Points: 55
Solved Threads: 3
Junior Poster
meabed is offline Offline
139 posts
since May 2004
May 30th, 2004
0

Re: have a try if you are interested in...

I dont know Russian sorry :-))
Reputation Points: 108
Solved Threads: 7
Posting Whiz in Training
FireNet is offline Offline
256 posts
since May 2004
Jun 18th, 2004
1

Re: have a try if you are interested in...

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? )
Reputation Points: 16
Solved Threads: 0
Light Poster
Fili is offline Offline
34 posts
since Jun 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Is C Right For Me?
Next Thread in C++ Forum Timeline: passing objects as arguments





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC