Borderou de evaluare (job #2568000)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 3 martie 2020 20:07:49
Problema Permutare4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:49:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("permutare4.in","r",stdin); ^ main.cpp:50:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("permutare4.out","w",stdout); ^ main.cpp:51:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &t); ^ main.cpp:56:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &n, &p); ^ main.cpp:63:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &t); ^ main.cpp:101:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ main.cpp:106:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &d[i]); ^ main.cpp:135:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
17ms262kbOK10
275ms917kbIncorect0
3512ms8519kbIncorect0
4563ms4325kbIncorect0
5589ms4325kbIncorect0
6467ms3801kbOK10
7495ms262kbIncorect0
873ms262kbOK10
96ms131kbOK10
102ms131kbOK10
Punctaj total50

Ceva nu functioneaza?