Блог пользователя MehemmedSettarli

Автор MehemmedSettarli, история, 21 месяц назад, По-английски

Hi I have problem in codeforces https://codeforces.me/contest/2044/submission/296743549 https://codeforces.me/contest/2044/problem/E if you run this in c++ compiler test case is true but in codeforces it is false in codeforces it gives me 0 0 0 0 0 and I do not know why I submitted it 4 times and get same result wrong answer in test case 1 Please loot at my code and solve this problem

  • Проголосовать: нравится
  • -7
  • Проголосовать: не нравится

»
21 месяц назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

You are using wrong format specifier. Use '%lld' instead of '%d'

ll k,l1,r1,l2,r2;
    scanf("%d %d %d %d %d", &k, &l1, &r1, &l2, &r2);
printf("%d\n", cvb);