Borderou de evaluare (job #2368687)

Utilizator ioana.jianuIoana Jianu ioana.jianu Data 5 martie 2019 17:15:24
Problema Concurs2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("concurs2.in", "r", stdin); ^ main.cpp:19:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("concurs2.out", "w", stdout); ^ main.cpp:23:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ main.cpp:25:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &jud); ^ main.cpp:27:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &a[jud][a[jud][0]]); ^ main.cpp:58:18: warning: 'poz2' may be used uninitialized in this function [-Wmaybe-uninitialized] a[poz2][0]--; ~~~~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns gresit0
22ms131kbRaspuns gresit0
32ms131kbRaspuns gresit0
43ms131kbRaspuns gresit0
53ms131kbRaspuns gresit0
63ms131kbRaspuns gresit0
73ms262kbRaspuns gresit0
83ms262kbRaspuns gresit0
93ms262kbRaspuns gresit0
102ms131kbOK10
Punctaj total10

Ceva nu functioneaza?