Borderou de evaluare (job #2283742)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 15 noiembrie 2018 20:48:12
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=] scanf("%1d", &bit) ; ^ main.cpp:24:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sobo.in", "r", stdin) ; ^ main.cpp:25:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sobo.out", "w", stdout) ; ^ main.cpp:28:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &l) ; ^ main.cpp:31:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%1d", &bit) ; ^ main.cpp:36:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &cost[i]) ; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
32ms131kbWall time limit exceeded0
49ms131kbKilled by Signal 110
520ms131kbKilled by Signal 110
662ms131kbKilled by Signal 110
7107ms131kbKilled by Signal 110
82ms131kbWall time limit exceeded0
92ms131kbWall time limit exceeded0
102ms131kbWall time limit exceeded0
Punctaj total0

Ceva nu functioneaza?