Borderou de evaluare (job #2644015)

Utilizator dream3rDavid Pop dream3r Data 22 august 2020 21:07:58
Problema Subsecvente2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:76:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t i = 1; i <= n; i++) ~~^~~~ main.cpp:78:24: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[50005]' [-Wformat=] fscanf(f, "%s", &word); ^ main.cpp:80:23: warning: NULL used in arithmetic [-Wpointer-arith] while (word[cnt] != NULL) ^~~~ main.cpp:73: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:78: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
12ms131kbIncorect0
22ms131kbIncorect0
33ms131kbIncorect0
43ms131kbIncorect0
53ms131kbIncorect0
63ms262kbIncorect0
7191ms49414kbIncorect0
8244ms59793kbIncorect0
9132ms35258kbIncorect0
10176ms55443kbIncorect0
11223ms64356kbIncorect0
12240ms65552kbMemory limit exceeded0
13228ms65552kbMemory limit exceeded0
14219ms65552kbMemory limit exceeded0
15241ms65552kbMemory limit exceeded0
16236ms65552kbMemory limit exceeded0
17218ms65552kbMemory limit exceeded0
18244ms65552kbMemory limit exceeded0
19227ms65552kbMemory limit exceeded0
20194ms65552kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?