Borderou de evaluare (job #2697846)

Utilizator Darius_CDarius Chitu Darius_C Data 19 ianuarie 2021 23:19:13
Problema CMMDC Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'void Read()': main.cpp:12:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] scanf("%d %d", &a,&b); ^ main.cpp:12:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] main.cpp: In function 'int main()': main.cpp:31:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=] printf("%d", gcd); ^ main.cpp: In function 'void Read()': main.cpp:10:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cmmdc.in","r",stdin); ^ main.cpp:11:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cmmdc.out","w",stdout); ^ main.cpp:12:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbWrong Answer.0
23ms131kbOKAY!10
32ms131kbOKAY!10
42ms131kbWrong Answer.0
52ms131kbOKAY!10
62ms131kbWrong Answer.0
72ms131kbOKAY!10
82ms131kbWrong Answer.0
92ms131kbWrong Answer.0
102ms131kbOKAY!10
Punctaj total50

Ceva nu functioneaza?