ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

Outputting long longs (+)
Posted by Michael Rybak (accepted@ukr.net) 4 Feb 2006 08:48
Hi everyone! I'm having problems with using printf("%lld"). I tried %lli, %Ld, %Li and others, but I can't make the following code work - even at my PC, not at the judge:

    long long a = 100000;
    a = a * a;
    printf("%lld", a);

Could anyone please help?

P.S. The only way now is to use cout, which always works fine.
read FAQ!!!
Posted by Vladimir Yakovlev (USU) 4 Feb 2006 14:33
OMG I'm sorry! (-)
Posted by Michael Rybak (accepted@ukr.net) 4 Feb 2006 15:31
-