Search found 2 matches

by AndreiCsibi
Mon Sep 01, 2003 8:57 pm
Forum: Volume 105 (10500-10599)
Topic: 10512 - A Day in Math-land
Replies: 52
Views: 13063

I used double, the standard sqrt and I also tried one written by me(with binary search) and the result is the same: Time Limit Exceeded! I understood that the official solution is based on a sqrt function written with binary search. I believe that something has changed in the evaluator. I wonder if ...
by AndreiCsibi
Sun Aug 31, 2003 10:40 pm
Forum: Volume 105 (10500-10599)
Topic: 10512 - A Day in Math-land
Replies: 52
Views: 13063

Printing long long or __int64 fails with cout or printf!?!?!

After I used all the tricks in this section and also used long long and __int64, I got TLE. I tried to print these types with gcc 4.9.8 and Visual C++ with cout or printf and %lld or %I64d and these functions don't know how to print negative numbers!!! Please tell me where's the mistake. P.S. What i...

Go to advanced search