Search found 2 matches

by mohammad
Sun Mar 23, 2008 5:21 pm
Forum: Volume 112 (11200-11299)
Topic: 11260 - Odd Root Sum
Replies: 22
Views: 11414

i got WA on this problem here is my code : #include <iostream> #include <math.h> using namespace std; #define m 100000000LL int main() { unsigned long long n, nn, s, ss, r; while (cin >> n, n) { n -= (n + 1) & 1; s = (unsigned long long) floor (sqrt ((long long double) n)); nn = (s * s) + ((s + 1) &...
by mohammad
Sat Aug 04, 2007 9:01 pm
Forum: Off topic (General chit-chat)
Topic: How old are you? Statistics.
Replies: 121
Views: 176340

i am 14 and solved 291 P, joined 7 month ago. :D

Go to advanced search