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

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

The answer is showing wrong at codeforces but right at my system I don't know why? The question is "Minutes Before the new year", Code :

include <stdio.h>

int main() { int a; int b; scanf("%d", &a); scanf("%d", &b); printf(" %d ", 1440 — a * 60 — b); return 0; }

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

»
13 месяцев назад, # |
  Проголосовать: нравится +10 Проголосовать: не нравится

Hi, Try to use code block feature when sending code. Example :

cout<<"example"<<endl;

Usage : Place ~~~~~ at the beginning and end so that it is not on the same line as the code.