Borderou de evaluare (job #2627110)

Utilizator Senth30Denis-Florin Cringanu Senth30 Data 9 iunie 2020 20:10:52
Problema Snake Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'bool OK(int, int, bool)': main.cpp:31:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(!par) ^ main.cpp: In function 'void read()': main.cpp:17:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &N, &M, &L); ^ main.cpp:20:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &mat[i][j]); ^ main.cpp: In function 'int main()': main.cpp:42:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("snake.in", "r", stdin); ^ main.cpp:43:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("snake.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK!10
22ms131kbRaspuns gresit!0
34ms131kbRaspuns gresit!0
45ms131kbRaspuns gresit!0
58ms262kbRaspuns gresit!0
67ms262kbRaspuns gresit!0
78ms262kbRaspuns gresit!0
88ms262kbRaspuns gresit!0
98ms262kbOK!10
108ms262kbOK!10
Punctaj total30

Ceva nu functioneaza?