Borderou de evaluare (job #2361181)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 2 martie 2019 13:39:28
Problema Ghiozdan Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 6

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:13:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ghiozdan.in" , "r" , stdin); ^ main.cpp:14:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ghiozdan.out" , "w" , stdout); ^ main.cpp:16:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d" , &n , &gmax); ^ main.cpp:18:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &v[i]); ^ main.cpp:45:14: warning: 'aux' may be used uninitialized in this function [-Wmaybe-uninitialized] else if(i == aux) ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbSolutie gresita6
22ms131kbRaspuns gresit0
36ms262kbRaspuns gresit0
435ms524kbRaspuns gresit0
537ms524kbRaspuns gresit0
66ms262kbRaspuns gresit0
729ms524kbRaspuns gresit0
861ms917kbRaspuns gresit0
966ms786kbRaspuns gresit0
1089ms786kbRaspuns gresit0
Punctaj total6

Ceva nu functioneaza?