Submission #488524

#TimeUsernameProblemLanguageResultExecution timeMemory
488524rainboyLogičari (COCI21_logicari)C11
10 / 110
1 ms304 KiB
#include <stdio.h> int main() { int n; scanf("%d", &n); printf("%d\n", n % 4 == 0 ? n / 2 : -1); return 0; }

Compilation message (stderr)

Main.c: In function 'main':
Main.c:6:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
    6 |  scanf("%d", &n);
      |  ^~~~~~~~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...