Pagini recente » Borderou de evaluare (job #285255) | Borderou de evaluare (job #2380316) | Borderou de evaluare (job #873494) | Borderou de evaluare (job #2309382) | Borderou de evaluare (job #2236229)
Borderou de evaluare (job #2236229)
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 |
1 | 320ms | 796kb | OK | 10 |
2 | 388ms | 756kb | OK | 10 |
3 | 384ms | 804kb | OK | 10 |
4 | 376ms | 864kb | OK | 10 |
5 | 0ms | 752kb | OK | 10 |
6 | 4ms | 880kb | OK | 10 |
7 | 4ms | 876kb | OK | 10 |
8 | 4ms | 756kb | OK | 10 |
9 | 0ms | 756kb | OK | 10 |
10 | 0ms | 796kb | OK | 10 |
Punctaj total | 100 |