Borderou de evaluare (job #2617228)

Utilizator rusuandrei32Rusu Andrei-Cristian rusuandrei32 Data 21 mai 2020 00:10:50
Problema Covrigi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:27:16: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] scanf("%d", i); ^ main.cpp:29:16: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] scanf("%d", i); ^ main.cpp:15:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("covrigi.in", "r", stdin); ^ main.cpp:16:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("covrigi.out", "w", stdout); ^ main.cpp:21:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &N, &M, &K); ^ main.cpp:27:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", i); ^ main.cpp:29:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms131kbKilled by Signal 1100
23ms262kbKilled by Signal 110
33ms262kbKilled by Signal 1100
43ms262kbKilled by Signal 110
53ms262kbKilled by Signal 110
63ms524kbKilled by Signal 1100
73ms524kbKilled by Signal 110
83ms524kbKilled by Signal 110
93ms524kbKilled by Signal 110
103ms524kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?