Borderou de evaluare (job #2644014)

Utilizator dream3rDavid Pop dream3r Data 22 august 2020 21:06:32
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 (*)[3005]' [-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
32ms131kbIncorect0
43ms131kbIncorect0
53ms131kbIncorect0
63ms131kbIncorect0
7192ms49414kbIncorect0
8214ms59768kbIncorect0
9137ms35127kbIncorect0
10213ms55443kbIncorect0
11230ms64356kbIncorect0
12230ms65552kbMemory limit exceeded0
13222ms65552kbMemory limit exceeded0
14231ms65552kbMemory limit exceeded0
15229ms65552kbMemory limit exceeded0
16241ms65552kbMemory limit exceeded0
173ms131kbKilled by Signal 110
183ms131kbKilled by Signal 110
193ms131kbKilled by Signal 110
203ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?