Borderou de evaluare (job #2367727)

Utilizator cristina-criCristina cristina-cri Data 5 martie 2019 12:02:56
Problema Lista lui Andrei Status done
Runda bv_10 Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:39:26: warning: array subscript has type 'char' [-Wchar-subscripts] fr[l2-'0'][l1='0']=1; ^ main.cpp:30:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("nrcuv.in", "r", stdin); ^ main.cpp:31:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("nrcuv.out", "w", stdout); ^ main.cpp:33:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ main.cpp:37:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c %c\n", &l1, &l2); ^ main.cpp:39:26: warning: array subscript is above array bounds [-Warray-bounds] fr[l2-'0'][l1='0']=1; ~~~~~~~~~~~~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbIncorect0
32ms131kbIncorect0
42ms131kbIncorect0
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
72ms131kbWall time limit exceeded0
82ms131kbIncorect0
92ms131kbIncorect0
102ms131kbKilled by Signal 110
112ms131kbWall time limit exceeded0
122ms131kbWall time limit exceeded0
132ms131kbWall time limit exceeded0
142ms131kbWall time limit exceeded0
152ms131kbWall time limit exceeded0
162ms131kbWall time limit exceeded0
172ms131kbWall time limit exceeded0
187ms262kbIncorect0
197ms262kbWall time limit exceeded0
202ms131kbWall time limit exceeded0
Punctaj total5

Ceva nu functioneaza?