Borderou de evaluare (job #2416619)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 27 aprilie 2019 20:02:33
Problema Undo2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("undo2.in", "r", stdin); ^ main.cpp:13:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("undo2.out", "w", stdout); ^ main.cpp:16:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:19:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:23:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[n]); ^ main.cpp:27:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:32:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:41:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:33:30: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] for (int j = n; j >= k + y - x; --j) { ~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms4980kbKilled by Signal 110
211ms4980kbKilled by Signal 110
311ms4980kbKilled by Signal 110
411ms4980kbKilled by Signal 110
511ms4980kbKilled by Signal 110
611ms4980kbKilled by Signal 110
710ms4980kbKilled by Signal 110
89ms4980kbKilled by Signal 110
911ms4980kbKilled by Signal 110
1011ms4980kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?