Borderou de evaluare (job #2590735)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 28 martie 2020 19:40:40
Problema Revolutie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:49:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(i == n) ^ main.cpp:65:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(ch == 1) ^ main.cpp:94:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<mutare>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", mutari.size()); ^ main.cpp:37:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("revolutie.in", "r", stdin); ^ main.cpp:38:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("revolutie.out", "w", stdout); ^ main.cpp:40:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:43:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbCorect10
23ms131kbCorect10
33ms131kbRaspuns gresit0
43ms131kbRaspuns gresit0
52ms131kbRaspuns gresit0
64ms131kbRaspuns gresit0
75ms131kbRaspuns gresit0
86ms200kbRaspuns gresit0
99ms167kbRaspuns gresit0
109ms262kbCorect10
Punctaj total30

Ceva nu functioneaza?