Pagini recente » Borderou de evaluare (job #2260648) | Borderou de evaluare (job #1532429) | Borderou de evaluare (job #1298715) | Borderou de evaluare (job #843918) | Borderou de evaluare (job #1385473)
Borderou de evaluare (job #1385473)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(;j>=0 && q>-1;j--) q=last[q][s[j]]-1;
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.in", "r", stdin);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.out", "w", stdout);
^
user.cpp:15:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%d",sir+1,&nr);
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n%s",s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 424kb | OK | 10 |
4 | 0ms | 608kb | OK | 10 |
5 | 8ms | 664kb | OK | 10 |
6 | 4ms | 724kb | OK | 10 |
7 | Depăşit | 836kb | Time limit exceeded. | 0 |
8 | 36ms | 836kb | OK | 10 |
9 | 28ms | 836kb | OK | 10 |
10 | 16ms | 840kb | OK | 10 |
Punctaj total | 90 |