michael10024's blog

By michael10024, 12 years ago, In English

I recently solved this problem( http://codeforces.net/problemset/problem/2/B ) but when i submit my solution it says that i have a wrong answer on test-case 6, but when i run this test-case on my computer it gives the correct answer! Please someone look at my submission ( http://www.codeforces.com/contest/2/submission/2204652 ) and inform me if i am doing something wrong!

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
12 years ago, # |
Rev. 2   Vote: I like it +6 Vote: I do not like it

You should fix this mistake first:

x.cpp:71:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat]