Search found 2 matches
- Mon Sep 01, 2003 8:57 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10512 - A Day in Math-land
- Replies: 52
- Views: 20230
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 ...
- Sun Aug 31, 2003 10:40 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10512 - A Day in Math-land
- Replies: 52
- Views: 20230
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 ...
P.S. What ...