Borderou de evaluare (job #1264633)

Utilizator cojocarugabiReality cojocarugabi Data 15 noiembrie 2014 23:25:21
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 75

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (int i=1;i<13;++i) al[c[i]]=i; ^ user.cpp:35:50: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (int j=0;j<5;++j) s[i].b[j]=al[aux[j]]; ^ user.cpp:46:86: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (int i=1;i<=n;++i,printf("\n")) for (int j=0;j<5;++j) printf("%c",c[s[i].b[j]]); ^ user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zimeria.in","r",stdin); ^ user.cpp:29:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n%d\n",&ok,&n); ^ user.cpp:30:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n",c+1); ^ user.cpp:34:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n",aux); ^ user.cpp:38:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zimeria.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK5
20ms452kbOK5
340ms688kbOK5
488ms936kbOK5
5196ms1424kbOK5
6Depăşit2360kbTime limit exceeded.0
70ms440kbOK5
80ms452kbOK5
90ms452kbOK5
104ms468kbOK5
1112ms496kbOK5
1228ms540kbOK5
1356ms632kbOK5
14116ms832kbOK5
15156ms936kbOK5
16240ms1176kbOK5
17Depăşit1408kbTime limit exceeded.0
18Depăşit1656kbTime limit exceeded.0
19Depăşit1972kbTime limit exceeded.0
20Depăşit2364kbTime limit exceeded.0
Punctaj total75

Ceva nu functioneaza?