Borderou de evaluare (job #2567983)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:48: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:49: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:50:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &t); ^ main.cpp:55: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:62:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &t); ^ main.cpp:100:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ main.cpp:105:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &d[i]); ^ main.cpp:134: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
260ms786kbKilled by Signal 110
3560ms8519kbIncorect0
4514ms4456kbIncorect0
5492ms4325kbIncorect0
6440ms3670kbOK10
7495ms393kbIncorect0
871ms262kbOK10
96ms131kbOK10
102ms131kbOK10
Punctaj total40

Ceva nu functioneaza?