Pagini recente » Cod sursa (job #925778) | Cod sursa (job #2672004) | Monitorul de evaluare | Cod sursa (job #756166) | Borderou de evaluare (job #2460881)
Borderou de evaluare (job #2460881)
Raport evaluator
Compilare:
main.cpp: In function 'void antibfs(ac*)':
main.cpp:120:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<fr->nd.size(); ++j) final[fr->nd[j]]=fr->n0;
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:132:40: 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);
^
main.cpp:134:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.out","w",stdout);
^
main.cpp:136:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",tx);
^
main.cpp:138:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:144:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 13ms | 917kb | OK | 5 |
| 7 | 22ms | 1310kb | OK | 5 |
| 8 | 24ms | 1966kb | OK | 5 |
| 9 | 26ms | 2228kb | OK | 5 |
| 10 | 22ms | 1572kb | OK | 5 |
| 11 | 23ms | 1179kb | OK | 5 |
| 12 | 23ms | 1835kb | OK | 5 |
| 13 | 10ms | 655kb | OK | 5 |
| 14 | 12ms | 655kb | OK | 5 |
| 15 | 15ms | 1310kb | OK | 5 |
| 16 | 15ms | 1441kb | OK | 5 |
| 17 | 17ms | 1310kb | OK | 5 |
| 18 | 18ms | 1179kb | OK | 5 |
| 19 | 22ms | 2097kb | OK | 5 |
| 20 | 102ms | 4194kb | Time limit exceeded | 0 |
| Punctaj total | 95 |