if i am not mistaken Dev-C++ uses MinGW compiler, and there long long is printed differently than "%lld"mf wrote:That depends on your compiler. I use cygwin and it's %llu for meFor unsigned long long it's "%I64u" in Windows
Visual Studio 2005 also supports %llu.
Search found 51 matches
- Sun Dec 30, 2007 8:29 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11371 - Number Theory for Newbies
- Replies: 65
- Views: 24683
- Sun Dec 30, 2007 1:28 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11374 - Airport Express
- Replies: 15
- Views: 7132
Then connections of Commercial-Xpress are special edges, first endpoint is node of first group, and second endpoint is node of second group. These edges are bi-directional too. i do not think so that you should make special edges bidirectional. just make them directed from the first set to the seco...
- Sat Dec 29, 2007 11:13 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11372 - Arranging a Contest
- Replies: 13
- Views: 4988
- Sat Dec 29, 2007 9:06 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11371 - Number Theory for Newbies
- Replies: 65
- Views: 24683
- Sun Nov 25, 2007 12:41 pm
- Forum: Algorithms
- Topic: Challenge in a DP problem
- Replies: 3
- Views: 2812
- Sat Nov 24, 2007 8:22 pm
- Forum: Bugs and suggestions
- Topic: Suggestion about downloadable code.
- Replies: 3
- Views: 2532
- Tue Oct 23, 2007 2:29 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11315 - Attacker
- Replies: 10
- Views: 3531
- Sun Oct 21, 2007 12:19 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11317 - GCD+LCM
- Replies: 16
- Views: 6404
11317 - GCD+LCM
hello,
can anyone please post some hints for the first part of the problem?
if one knows how to solve the first part, second is more or less trivial
Filip
can anyone please post some hints for the first part of the problem?
if one knows how to solve the first part, second is more or less trivial
Filip
- Sun Oct 21, 2007 12:18 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11315 - Attacker
- Replies: 10
- Views: 3531
11315 - Attacker
can someone please give a hint or an idea for this problem?
my idea was to rotate the plane for 45 degrees but it didn't handle the boundary constraint ( it counted fields outside the chessboard as well )
Filip
my idea was to rotate the plane for 45 degrees but it didn't handle the boundary constraint ( it counted fields outside the chessboard as well )
Filip
- Sun Jul 15, 2007 3:06 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11243 - Texas Trip
- Replies: 18
- Views: 8550
11243 - Texas Trip
can someone please give a hint on this problem?
Thank you
Thank you
- Tue Mar 06, 2007 3:07 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11187 - Water Crisis
- Replies: 12
- Views: 5627
- Sun Mar 04, 2007 6:13 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11186 - Circum Triangle
- Replies: 18
- Views: 7697
well, i still cant get it accepted so if anybody can check out my code:
Code: Select all
removed
silly, yet frustrating mistake
thank you deepesh and rio
- Sun Mar 04, 2007 5:13 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11186 - Circum Triangle
- Replies: 18
- Views: 7697
There is a solution with O(n) too. For the previous posted test, my code outputs 21341254742 6326026258 93611494 92130101 can you please tell me what do you get before you round your solutions i get: 21341254742.435440063476562 6326026258.263971328735352 93611493.600922271609306 92130100.9769803583...
- Sun Mar 04, 2007 2:11 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11186 - Circum Triangle
- Replies: 18
- Views: 7697
can somebody please tell me outputs for following test cases and if it is not a problem, can one tell me his result BEFORE rounding too, i suspect i am having precision issue http://fpavetic.googlepages.com/11186.big1 http://fpavetic.googlepages.com/11186.big2 http://fpavetic.googlepages.com/11186.b...
- Mon Feb 26, 2007 4:06 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11184 - Joyful Ride
- Replies: 11
- Views: 7481
Well..I tried that problem during the contest..I guessed there was a solution when (n-4)%3 == 0, you can make the sample for 4, 7, 11 and you will find that the solution follows a pattern. Though I didn't get AC :p, so, perhaps I was missing something else? well, i don't think that is quite correct...