Borderou de evaluare (job #2285009)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 17 noiembrie 2018 21:37:00
Problema Rps Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:112:24: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1000004]' [-Wformat=] scanf ("%s", &s); ^ main.cpp:107:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("rps.in","r",stdin); ^ main.cpp:108:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("rps.out","w",stdout); ^ main.cpp:109:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d %d\n", &n, &k, &w, &d); ^ main.cpp:112:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%s", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbOK5
35ms917kbOK5
45ms786kbIncorect0
56ms1048kbIncorect0
66ms1048kbOK5
7248ms65552kbMemory limit exceeded0
8243ms65552kbMemory limit exceeded0
9253ms65552kbMemory limit exceeded0
10240ms65552kbMemory limit exceeded0
11234ms57016kbOK5
12257ms65552kbMemory limit exceeded0
13263ms65552kbMemory limit exceeded0
14240ms65552kbMemory limit exceeded0
15244ms65552kbMemory limit exceeded0
16232ms65552kbMemory limit exceeded0
17252ms65552kbMemory limit exceeded0
18243ms65552kbMemory limit exceeded0
19242ms65552kbMemory limit exceeded0
20136ms6684kbOK5
Punctaj total30

Ceva nu functioneaza?