zaiid's blog

By zaiid, history, 12 months ago, In English

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; }

  • Vote: I like it
  • -5
  • Vote: I do not like it

»
12 months ago, # |
  Vote: I like it +10 Vote: I do not like it

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.