Pagini recente » Borderou de evaluare (job #767853) | Borderou de evaluare (job #2294019) | Borderou de evaluare (job #3313535) | Borderou de evaluare (job #2334299) | Borderou de evaluare (job #2212412)
Borderou de evaluare (job #2212412)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:9: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else i+=groupList[numList[i].second]; i--;
^~~~
user.cpp:34:47: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
else i+=groupList[numList[i].second]; i--;
^
user.cpp:9:11: warning: variable ‘fin’ set but not used [-Wunused-but-set-variable]
FILE *fin, *fout;
^~~
user.cpp:9:17: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable]
FILE *fin, *fout;
^~~~
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &V, &N);
^
user.cpp:14:56: 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", &numList[i].first); if(numList[i].first!=numList[i-1].first)vf++; numList[i].second=vf; groupList[vf]++; if(groupList[vf]>maxgroup)maxgroup=groupList[vf];}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 880kb | OK | 5 |
| 2 | 4ms | 860kb | OK | 5 |
| 3 | 0ms | 752kb | OK | 5 |
| 4 | 0ms | 752kb | OK | 5 |
| 5 | 0ms | 860kb | OK | 5 |
| 6 | 0ms | 752kb | OK | 5 |
| 7 | 0ms | 800kb | OK | 5 |
| 8 | 0ms | 800kb | Incorect | 0 |
| 9 | 0ms | 816kb | Incorect | 0 |
| 10 | 0ms | 752kb | OK | 5 |
| 11 | 0ms | 868kb | OK | 5 |
| 12 | 0ms | 856kb | OK | 5 |
| 13 | 0ms | 808kb | Incorect | 0 |
| 14 | 0ms | 876kb | OK | 5 |
| 15 | 4ms | 772kb | Incorect | 0 |
| 16 | 0ms | 792kb | OK | 5 |
| 17 | 0ms | 872kb | Incorect | 0 |
| 18 | 4ms | 804kb | OK | 5 |
| 19 | 0ms | 808kb | OK | 5 |
| 20 | 0ms | 756kb | OK | 5 |
| Punctaj total | 75 |