Borderou de evaluare (job #2301257)

Utilizator BRIOI19Ben Test BRIOI19 Data 12 decembrie 2018 19:45:11
Problema Cifre Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:32: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] scanf("%d%d%d%d",a,b,c,k); ^ main.cpp:10:32: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] main.cpp:10:32: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat=] main.cpp:10:32: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'int' [-Wformat=] main.cpp:10:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",a,b,c,k); ^ main.cpp:10:33: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized] scanf("%d%d%d%d",a,b,c,k); ^ main.cpp:10:33: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] main.cpp:10:33: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] main.cpp:10:33: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
171ms131kbWrong answer!0
268ms131kbWrong answer!0
367ms131kbWrong answer!0
468ms131kbWrong answer!0
568ms131kbWrong answer!0
668ms131kbWrong answer!0
768ms131kbWrong answer!0
867ms131kbWrong answer!0
968ms131kbWrong answer!0
1068ms131kbOk!10
Punctaj total10

Ceva nu functioneaza?