Borderou de evaluare (job #2605938)

Utilizator ioana.jianuIoana Jianu ioana.jianu Data 26 aprilie 2020 13:30:01
Problema Permutari 3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("perm3.in", "r", stdin); ^ main.cpp:13:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("perm3.out", "w", stdout); ^ main.cpp:17:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ main.cpp:19:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &w[i]); ^ main.cpp:22:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &nr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK!10
22ms131kbOK!10
34ms131kbWrong answer!0
44ms131kbWrong answer!0
54ms131kbWrong answer!0
63ms131kbWrong answer!0
74ms131kbWrong answer!0
84ms131kbWrong answer!0
92ms131kbWrong answer!0
104ms131kbWrong answer!0
Punctaj total20

Ceva nu functioneaza?