Pagini recente » Borderou de evaluare (job #2594197) | Borderou de evaluare (job #1431404) | Borderou de evaluare (job #1287090) | Borderou de evaluare (job #1805379) | Borderou de evaluare (job #2212393)
Borderou de evaluare (job #2212393)
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 | 796kb | OK | 5 |
| 2 | 4ms | 776kb | OK | 5 |
| 3 | 0ms | 796kb | OK | 5 |
| 4 | 0ms | 756kb | OK | 5 |
| 5 | 0ms | 856kb | Incorect | 0 |
| 6 | 0ms | 860kb | OK | 5 |
| 7 | 0ms | 860kb | OK | 5 |
| 8 | 0ms | 936kb | Incorect | 0 |
| 9 | 0ms | 864kb | Incorect | 0 |
| 10 | 0ms | 936kb | OK | 5 |
| 11 | 0ms | 804kb | OK | 5 |
| 12 | 0ms | 752kb | OK | 5 |
| 13 | 0ms | 800kb | OK | 5 |
| 14 | 0ms | 808kb | OK | 5 |
| 15 | 4ms | 932kb | Incorect | 0 |
| 16 | 0ms | 932kb | OK | 5 |
| 17 | 0ms | 800kb | OK | 5 |
| 18 | 4ms | 860kb | Incorect | 0 |
| 19 | 0ms | 808kb | OK | 5 |
| 20 | 0ms | 932kb | OK | 5 |
| Punctaj total | 75 |