|
|
back to boardgcc vs ms vc #include <stdio.h> int main(){ long long int t; scanf("%lld", &t); printf("%lld\n%lld", t*t, t); return 0; } AC with MS VC, but WA 1 with GCC. Can anybody explain me what's wrong with my code? Re: gcc vs ms vc u should use %i64d instead %lld with GCC ;) Edited by author 12.07.2013 19:50 |
|
|