Pagini recente » Borderou de evaluare (job #458297) | Cod sursa (job #1131069) | Borderou de evaluare (job #2595918) | Borderou de evaluare (job #2978700) | Borderou de evaluare (job #2768952)
Borderou de evaluare (job #2768952)
Raport evaluator
Compilare:
main.cpp: In function 'void A(N*)':
main.cpp:17:12: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!r->l[*k])
^
main.cpp:18:13: warning: array subscript has type 'char' [-Wchar-subscripts]
r->l[*k]=new N();
^
main.cpp:19:18: warning: array subscript has type 'char' [-Wchar-subscripts]
++k,A(r->l[*(k-1)]);}
^
main.cpp: In function 'int main()':
main.cpp:22:75: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{freopen("ahocorasick.in","r",stdin),freopen("ahocorasick.out","w",stdout);
^
main.cpp:22:75: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:23:40: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(e,1000001,stdin),scanf("%d\n",&n);
^
main.cpp:23:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:25:31: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(a,10001,stdin),k=a,A(r);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 2ms | 131kb | Incorect | 0 |
| 5 | 2ms | 131kb | Incorect | 0 |
| 6 | 11ms | 917kb | Killed by Signal 11 | 0 |
| 7 | 18ms | 1179kb | Incorect | 0 |
| 8 | 19ms | 1835kb | Incorect | 0 |
| 9 | 21ms | 2097kb | Incorect | 0 |
| 10 | 17ms | 1572kb | Incorect | 0 |
| 11 | 19ms | 1179kb | Incorect | 0 |
| 12 | 18ms | 1835kb | Incorect | 0 |
| 13 | 7ms | 655kb | Incorect | 0 |
| 14 | 9ms | 786kb | OK | 5 |
| 15 | 12ms | 1310kb | Incorect | 0 |
| 16 | 12ms | 1441kb | Incorect | 0 |
| 17 | 13ms | 1310kb | Incorect | 0 |
| 18 | 14ms | 1179kb | Incorect | 0 |
| 19 | 17ms | 1966kb | Incorect | 0 |
| 20 | 54ms | 3670kb | Incorect | 0 |
| Punctaj total | 5 |