Pagini recente » Borderou de evaluare (job #541207) | Borderou de evaluare (job #175062) | Borderou de evaluare (job #189487) | Borderou de evaluare (job #938807) | Borderou de evaluare (job #1371804)
Borderou de evaluare (job #1371804)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
prov[i] = ant[c];
^
user.cpp:55:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cnt[i] = cnt[ant[c]]+1;
^
user.cpp:57:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cnt[i]>cnt[ant[w[i][len[i]]]])
^
user.cpp:58:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ant[w[i][len[i]]] = i;
^
user.cpp:30:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.in","r",stdin);
^
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.out","w",stdout);
^
user.cpp:33:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:36:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:49:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccsIB6uZ.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 500kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 476kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 432kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 380kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 776kb | Time limit exceeded. | 0 |
| 6 | 4ms | 584kb | Killed by signal 6(SIGABRT). | 0 |
| 7 | Depăşit | 372kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 1144kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 396kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 416kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |