Pagini recente » Borderou de evaluare (job #1591946) | Borderou de evaluare (job #299950) | Borderou de evaluare (job #448313) | Borderou de evaluare (job #284490) | Borderou de evaluare (job #2644022)
Borderou de evaluare (job #2644022)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:74:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t i = 1; i <= n; i++)
~~^~~~
main.cpp:76:24: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[50005]' [-Wformat=]
fscanf(f, "%s", &word);
^
main.cpp:78:23: warning: NULL used in arithmetic [-Wpointer-arith]
while (word[cnt] != NULL)
^~~~
main.cpp:72: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:76: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 | 3ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 3ms | 131kb | OK | 5 |
| 4 | 3ms | 131kb | OK | 5 |
| 5 | 3ms | 131kb | OK | 5 |
| 6 | 3ms | 131kb | 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 | 36ms | 8126kb | OK | 5 |
| 14 | 26ms | 5767kb | OK | 5 |
| 15 | 29ms | 6422kb | OK | 5 |
| 16 | 26ms | 5505kb | OK | 5 |
| 17 | 93ms | 19660kb | OK | 5 |
| 18 | 131ms | 31457kb | OK | 5 |
| 19 | 111ms | 25821kb | OK | 5 |
| 20 | 156ms | 38141kb | OK | 5 |
| Punctaj total | 95 |