Borderou de evaluare (job #2311253)

Utilizator bogdi1bogdan bancuta bogdi1 Data 2 ianuarie 2019 20:08:27
Problema Gradina Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:148:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=1; k<=n && sol[k]==(ans[k]+ok)%2; k++); ^~~ main.cpp:149:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if(sol[k]>(ans[k]+ok)%2) ^~ main.cpp:244:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(k=1; k<=n && sol[k]==(ans[k]+ok)%2; k++); ^~~ main.cpp:245:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if(sol[k]>(ans[k]+ok)%2) ^~ main.cpp:43:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("gradina.in", "r",stdin); ^ main.cpp:44:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("gradina.out", "w",stdout); ^ main.cpp:47:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:49:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &v[i].x, &v[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOkay10
28ms131kbOkay10
3233ms131kbOkay10
4697ms131kbOkay10
5233ms131kbOkay10
6100ms131kbOkay10
7703ms131kbOkay10
8572ms131kbOkay10
9365ms131kbOkay10
10700ms131kbOkay10
Punctaj total100

Ceva nu functioneaza?