Pagini recente » Borderou de evaluare (job #191235) | Borderou de evaluare (job #1664390) | Borderou de evaluare (job #1183018) | Borderou de evaluare (job #2774229) | Borderou de evaluare (job #2313670)
Borderou de evaluare (job #2313670)
Raport evaluator
Compilare:
main.cpp: In function 'void A(N*)':
main.cpp:23:16: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!r->l[*k])
^
main.cpp:24:16: warning: array subscript has type 'char' [-Wchar-subscripts]
r->l[*k]=new N();
^
main.cpp:25:16: warning: array subscript has type 'char' [-Wchar-subscripts]
A(r->l[*k++]);
^
main.cpp: In function 'int main()':
main.cpp:29:118: 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),fgets(e,1000001,stdin),scanf("%d\n",&n);
^
main.cpp:29:118: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:29:118: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:29:118: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:31:38: 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 | 18ms | 1179kb | Incorect | 0 |
12 | 17ms | 1835kb | Incorect | 0 |
13 | 7ms | 655kb | Incorect | 0 |
14 | 8ms | 655kb | OK | 5 |
15 | 12ms | 1310kb | Incorect | 0 |
16 | 12ms | 1310kb | Incorect | 0 |
17 | 13ms | 1310kb | Incorect | 0 |
18 | 13ms | 1179kb | Incorect | 0 |
19 | 17ms | 1966kb | Incorect | 0 |
20 | 50ms | 3670kb | Incorect | 0 |
Punctaj total | 5 |