Pagini recente » Borderou de evaluare (job #2485037) | Borderou de evaluare (job #2388801) | Borderou de evaluare (job #725559) | Borderou de evaluare (job #1382215) | Borderou de evaluare (job #2644021)
Borderou de evaluare (job #2644021)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:71:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t i = 1; i <= n; i++)
~~^~~~
main.cpp:73:24: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[50005]' [-Wformat=]
fscanf(f, "%s", &word);
^
main.cpp:75:23: warning: NULL used in arithmetic [-Wpointer-arith]
while (word[cnt] != NULL)
^~~~
main.cpp:68:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
main.cpp:73:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%s", &word);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 3ms | 131kb | OK | 5 |
| 5 | 3ms | 131kb | OK | 5 |
| 6 | 3ms | 262kb | OK | 5 |
| 7 | 11ms | 2228kb | OK | 5 |
| 8 | 12ms | 2359kb | OK | 5 |
| 9 | 8ms | 1441kb | OK | 5 |
| 10 | 10ms | 1966kb | OK | 5 |
| 11 | 10ms | 2097kb | OK | 5 |
| 12 | 15ms | 3145kb | OK | 5 |
| 13 | 37ms | 8126kb | OK | 5 |
| 14 | 26ms | 5767kb | OK | 5 |
| 15 | 29ms | 6422kb | OK | 5 |
| 16 | 25ms | 5505kb | OK | 5 |
| 17 | 93ms | 19529kb | OK | 5 |
| 18 | 129ms | 31457kb | OK | 5 |
| 19 | 122ms | 25821kb | OK | 5 |
| 20 | 166ms | 38273kb | OK | 5 |
| Punctaj total | 95 |