Pagini recente » Borderou de evaluare (job #1501510) | Borderou de evaluare (job #2309500) | Borderou de evaluare (job #1794082) | Borderou de evaluare (job #2167179) | Borderou de evaluare (job #2730036)
Borderou de evaluare (job #2730036)
Raport evaluator
Compilare:
main.cpp: In function 'void add_first(nod*, char*, int)':
main.cpp:27:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(!root->fii[ nr(cuv[0]) ]);
^~
main.cpp:28:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
root->fii[ nr(cuv[0]) ] = new nod;
^~~~
main.cpp: In function 'int main()':
main.cpp:69:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < strlen(cuv); j++)
~~^~~~~~~~~~~~~
main.cpp:72:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < strlen(cuv); j++)
~~^~~~~~~~~~~~~
main.cpp:79:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < strlen(cuv); j++)
~~^~~~~~~~~~~~~
main.cpp:59:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in", "r", stdin);
^
main.cpp:60:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out", "w", stdout);
^
main.cpp:65:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &na);
^
main.cpp:67:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ", cuv);
^
main.cpp:76:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &nb);
^
main.cpp:78:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ", cuv);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 3ms | 262kb | Incorect | 0 |
| 3 | 3ms | 393kb | Incorect | 0 |
| 4 | 5ms | 1310kb | Incorect | 0 |
| 5 | 11ms | 2621kb | Incorect | 0 |
| 6 | 11ms | 2752kb | Incorect | 0 |
| 7 | 43ms | 10092kb | Incorect | 0 |
| 8 | 45ms | 10223kb | Incorect | 0 |
| 9 | 37ms | 10223kb | Incorect | 0 |
| 10 | 35ms | 9830kb | Incorect | 0 |
| Punctaj total | 0 |