Pagini recente » Cod sursa (job #1735781) | Cod sursa (job #95600) | Borderou de evaluare (job #2321421) | Cod sursa (job #59093) | Borderou de evaluare (job #1966081)
Borderou de evaluare (job #1966081)
Raport evaluator
Compilare:
user.cpp: In function ‘void insertTrie(trie*, int, char*)’:
user.cpp:31:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<strlen(cuvant); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:113:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<strlen(cuv); i++)
^
user.cpp: In function ‘void citire()’:
user.cpp:44:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",cuv);
^
user.cpp:45:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:48:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",dictionar[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:106: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:107: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);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 476kb | OK | 5 |
| 2 | 0ms | 500kb | OK | 5 |
| 3 | 0ms | 500kb | OK | 5 |
| 4 | 0ms | 512kb | Incorect | 0 |
| 5 | 0ms | 472kb | OK | 5 |
| 6 | Depăşit | 1136kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 1428kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 2008kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 2220kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1692kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 1396kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 1900kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 928kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 980kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 1528kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1624kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1640kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 1432kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 2144kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 3660kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |