Borderou de evaluare (job #2285021)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 17 noiembrie 2018 21:57:30
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:125:24: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1000004]' [-Wformat=] scanf ("%s", &s); ^ main.cpp:117: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:118: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:119: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:125: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
7265ms65552kbMemory limit exceeded0
8254ms65552kbMemory limit exceeded0
9243ms65552kbMemory limit exceeded0
10257ms65552kbMemory limit exceeded0
11259ms57016kbOK5
12252ms65552kbMemory limit exceeded0
13254ms65552kbMemory limit exceeded0
14282ms65552kbMemory limit exceeded0
15232ms65552kbMemory limit exceeded0
16243ms65552kbMemory limit exceeded0
17243ms65552kbMemory limit exceeded0
18252ms65552kbMemory limit exceeded0
19237ms65552kbMemory limit exceeded0
20140ms6815kbOK5
Punctaj total30

Ceva nu functioneaza?