Borderou de evaluare (job #2643700)

Utilizator dream3rDavid Pop dream3r Data 20 august 2020 21:56:48
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:90:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t i = 1; i <= A; i++) ~~^~~~ main.cpp:92:24: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[305]' [-Wformat=] fscanf(f, "%s", &word); ^ main.cpp:102:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t i = 1; i <= B; i++) ~~^~~~ main.cpp:104:24: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[305]' [-Wformat=] fscanf(f, "%s", &word); ^ main.cpp:89:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &A); ^ main.cpp:92:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", &word); ^ main.cpp:101:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &B); ^ main.cpp:104: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
13ms262kbOK10
25ms1179kbOK10
316ms4849kbOK10
484ms30015kbOK10
5200ms96862kbTime limit exceeded0
6200ms98959kbTime limit exceeded0
7200ms93061kbTime limit exceeded0
8200ms103809kbTime limit exceeded0
9202ms100663kbTime limit exceeded0
10203ms106823kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?