Borderou de evaluare (job #2644010)

Utilizator dream3rDavid Pop dream3r Data 22 august 2020 21:00:34
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
23ms131kbIncorect0
33ms131kbIncorect0
43ms131kbIncorect0
53ms131kbIncorect0
63ms262kbIncorect0
7170ms49414kbIncorect0
8215ms59768kbIncorect0
9137ms35258kbIncorect0
10187ms55443kbIncorect0
11236ms64356kbIncorect0
12205ms65552kbMemory limit exceeded0
13224ms65552kbMemory limit exceeded0
14210ms65552kbMemory limit exceeded0
15235ms65552kbMemory limit exceeded0
16220ms65552kbMemory limit exceeded0
17228ms65552kbMemory limit exceeded0
18241ms65552kbMemory limit exceeded0
19246ms65552kbMemory limit exceeded0
20219ms65552kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?