Borderou de evaluare (job #2272191)

Utilizator giotoPopescu Ioan gioto Data 29 octombrie 2018 20:06:15
Problema Secv8 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void upd_val(item*&)': main.cpp:31:14: warning: unused variable 'ok' [-Wunused-variable] bool ok = 0; ^~ main.cpp: In function 'int main()': main.cpp:123:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'bool*' [-Wformat=] scanf("%d%d\n", &n, &ok); ^ main.cpp:114:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("secv8.in", "r", stdin); ^ main.cpp:115:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("secv8.out", "w", stdout); ^ main.cpp:123:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &ok); ^ main.cpp:125:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ main.cpp:127:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &y, &x); ^ main.cpp:136:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &x); ^ main.cpp:140:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &x, &y); ^ main.cpp:144:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
22ms131kbIncorect0
33ms131kbKilled by Signal 110
43ms131kbKilled by Signal 110
53ms131kbKilled by Signal 110
63ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
83ms131kbKilled by Signal 110
93ms131kbKilled by Signal 110
103ms131kbKilled by Signal 110
112ms131kbKilled by Signal 110
123ms131kbKilled by Signal 110
133ms131kbKilled by Signal 110
143ms131kbKilled by Signal 110
152ms131kbKilled by Signal 110
163ms131kbKilled by Signal 110
173ms131kbKilled by Signal 110
183ms131kbKilled by Signal 110
192ms131kbKilled by Signal 110
203ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?