Pagini recente » Borderou de evaluare (job #1368998) | Borderou de evaluare (job #2327457) | Borderou de evaluare (job #1623998) | Borderou de evaluare (job #2338198) | Borderou de evaluare (job #1730327)
Borderou de evaluare (job #1730327)
Raport evaluator
Compilare:
user.cpp: In function ‘void atac()’:
user.cpp:74:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < R->p.size();++i)v[R->p[i]] = R->num;
^
user.cpp: In function ‘int main()’:
user.cpp:95:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(t); ++i){
^
user.cpp:92:18: warning: unused variable ‘F’ [-Wunused-variable]
Trie* R = T,*F;
^
user.cpp:81: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);
^
user.cpp:82: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);
^
user.cpp:84:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n%d\n",t,&q);
^
user.cpp:88:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",ch); N = strlen(ch);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 512kb | OK | 5 |
| 2 | 0ms | 520kb | Incorect | 0 |
| 3 | 0ms | 516kb | OK | 5 |
| 4 | 0ms | 516kb | Incorect | 0 |
| 5 | 0ms | 516kb | OK | 5 |
| 6 | Depăşit | 1084kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 1412kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 1800kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1952kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1608kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 1420kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 1764kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 952kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 1044kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 1332kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1396kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1424kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 1444kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1884kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 3456kb | Time limit exceeded. | 0 |
| Punctaj total | 15 |