Borderou de evaluare (job #2567959)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 3 martie 2020 19:53:10
Problema Permutare4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:46: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:47: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:48:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &t); ^ main.cpp:53: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:60:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &t); ^ main.cpp:98:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ main.cpp:103:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &d[i]); ^ main.cpp:132: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
18ms131kbKilled by Signal 110
261ms917kbKilled by Signal 110
3493ms8519kbIncorect0
4504ms4325kbIncorect0
5484ms4325kbIncorect0
6462ms3801kbIncorect0
7555ms393kbIncorect0
872ms262kbOK10
97ms131kbOK10
102ms131kbOK10
Punctaj total30

Ceva nu functioneaza?