Borderou de evaluare (job #621944)

Utilizator avatar GicuR Gicu Rata GicuR IP ascuns
Problemă Nrcuv (baraj gimnaziu) Compilator cpp-32
Rundă lasm_21_12_2021_cl12 Status evaluat
Dată 21 dec. 2021 14:04:38 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] 30 | scanf("%d",n); | ~^ ~ | | | | | int | int* main.cpp:27:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | freopen("nrcuv.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:28:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | freopen("nrcuv.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:30:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | scanf("%d",n); | ~~~~~^~~~~~~~ main.cpp:30:10: warning: 'n' is used uninitialized [-Wuninitialized] 30 | scanf("%d",n); | ~~~~~^~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Killed by Signal 11 0
2 1 ms 131 kb Killed by Signal 11 0
3 1 ms 131 kb Killed by Signal 11 0
4 1 ms 131 kb Killed by Signal 11 0
5 1 ms 131 kb Killed by Signal 11 0
6 1 ms 131 kb Killed by Signal 11 0
7 2 ms 131 kb Killed by Signal 11 0
8 1 ms 131 kb Killed by Signal 11 0
9 1 ms 131 kb Killed by Signal 11 0
10 1 ms 131 kb Killed by Signal 11 0
Punctaj total 0