Borderou de evaluare (job #2337383)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 6 februarie 2019 12:28:58
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp:7:17: warning: overflow in implicit constant conversion [-Woverflow] const int INF = 1e18; ^~~~ main.cpp: In function 'int main()': main.cpp:21:13: warning: array subscript has type 'char' [-Wchar-subscripts] v[j][x] += (1 << (i - 1)); ^ main.cpp:14:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("sobo.in", "r", stdin); ^ main.cpp:15:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("sobo.out", "w", stdout); ^ main.cpp:16:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d\n", &n, &l); ^ main.cpp:19:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%c", &x); ^ main.cpp:23:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("\n"); ^ main.cpp:26:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &cost[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCool!10
22ms131kbCool!10
34ms131kbCool!10
49ms131kbCool!10
512ms131kbCool!10
646ms262kbCool!10
781ms262kbCool!10
8117ms393kbCool!10
9235ms393kbCool!10
10236ms393kbCool!10
Punctaj total100

Ceva nu functioneaza?