Borderou de evaluare (job #2565979)

Utilizator rebecca0312Andrei Rebecca rebecca0312 Data 2 martie 2020 18:11:42
Problema Perle Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:70:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:72:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' for(int q=1;q<=n;q++) ^~~ main.cpp:47:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("perle.in","r",stdin); ^ main.cpp:48:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("perle.out","w",stdout); ^ main.cpp:50:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &T); ^ main.cpp:52:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ main.cpp:54:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &p[q]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK!10
22ms131kbOK!10
32ms131kbOK!10
43ms131kbOK!10
52ms131kbOK!10
62ms131kbOK!10
73ms131kbOK!10
811ms131kbOK!10
912ms131kbOK!10
1020ms131kbOK!10
Punctaj total100

Ceva nu functioneaza?