Borderou de evaluare (job #2644096)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 23 august 2020 13:37:30
Problema Matrix Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:42: warning: NULL used in arithmetic [-Wpointer-arith] if(b[i][j]!='\n' && b[i][j]!=NULL)v[b[i][j]]++; ^~~~ main.cpp:29:56: warning: array subscript has type 'char' [-Wchar-subscripts] if(b[i][j]!='\n' && b[i][j]!=NULL)v[b[i][j]]++; ^ main.cpp:16:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("matrix.in","r",stdin); ^ main.cpp:17:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("matrix.out","w",stdout); ^ main.cpp:19:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ main.cpp:23:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf(" %c",&a[i][j]); ^ main.cpp:28:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf(" %c",&b[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms262kbOK5
23ms393kbOK5
34ms393kbOK5
45ms655kbOK5
56ms786kbOK5
68ms917kbOK5
710ms1048kbOK5
813ms1310kbOK5
920ms1572kbOK5
1020ms1703kbOK5
1138ms2490kbOK5
1265ms3407kbOK5
1398ms4063kbOK5
14136ms4980kbOK5
15230ms4587kbOK5
16231ms6160kbOK5
17330ms7864kbKilled by Signal 110
18321ms7077kbKilled by Signal 110
19341ms6029kbKilled by Signal 110
20317ms7471kbKilled by Signal 110
Punctaj total80

Ceva nu functioneaza?