Borderou de evaluare (job #2236229)

Utilizator MoldooooooooMoldoveanu Stefan Moldoooooooo Data 28 august 2018 18:52:08
Problema Monezi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void BKT(int, int)’: user.cpp:13:12: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(k=S-Value[j]; k>=1; k--) ^~~ user.cpp:15:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ Fq[Value[j]]-=Value[j]; ^~ user.cpp: In function ‘int main()’: user.cpp:23:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("monezi.in", "r", stdin); ^ user.cpp:24:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("monezi.out", "w", stdout); ^ user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &S); ^ user.cpp:26:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1; i<=N; i++) scanf("%d", &Value[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1320ms796kbOK10
2388ms756kbOK10
3384ms804kbOK10
4376ms864kbOK10
50ms752kbOK10
64ms880kbOK10
74ms876kbOK10
84ms756kbOK10
90ms756kbOK10
100ms796kbOK10
Punctaj total100

Ceva nu functioneaza?