Pagini recente » Cod sursa (job #1113402) | Borderou de evaluare (job #2764074) | Borderou de evaluare (job #2234233) | Borderou de evaluare (job #1486873) | Borderou de evaluare (job #2312946)
Borderou de evaluare (job #2312946)
Raport evaluator
Compilare:
main.cpp: In function 'void drumuri()':
main.cpp:48:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<ord.size(); ++i)
~^~~~~~~~~~~
main.cpp: In function 'void calc(trie*)':
main.cpp:72:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0; j<aux->words.size(); ++j)
~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:106:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<a.length(); ++i)
~^~~~~~~~~~~
main.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);
^
main.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);
^
main.cpp:85:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);
^
main.cpp:88:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:94:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
main.cpp:96:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",aux3);
^
| 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 | 8ms | 1310kb | Incorect | 0 |
| 7 | 11ms | 2097kb | Incorect | 0 |
| 8 | 14ms | 2752kb | Incorect | 0 |
| 9 | 14ms | 3145kb | Incorect | 0 |
| 10 | 13ms | 2490kb | Incorect | 0 |
| 11 | 12ms | 2097kb | Incorect | 0 |
| 12 | 14ms | 2752kb | Incorect | 0 |
| 13 | 7ms | 1048kb | Incorect | 0 |
| 14 | 8ms | 1310kb | Incorect | 0 |
| 15 | 10ms | 1835kb | Incorect | 0 |
| 16 | 10ms | 1966kb | Incorect | 0 |
| 17 | 11ms | 2097kb | Incorect | 0 |
| 18 | 12ms | 2097kb | Incorect | 0 |
| 19 | 15ms | 3014kb | Incorect | 0 |
| 20 | 96ms | 4849kb | Incorect | 0 |
| Punctaj total | 0 |