Pagini recente » Borderou de evaluare (job #982832) | Borderou de evaluare (job #2278393) | Borderou de evaluare (job #926565) | Borderou de evaluare (job #929031) | Borderou de evaluare (job #2075552)
Borderou de evaluare (job #2075552)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:12: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int n, x, j, i;
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in", "r", stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.out", "w", stdout);
^
user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&a[i]);
^
user.cpp:32:22: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while(j<=n && a[j]==a[i])
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | OK | 10 |
| 2 | 0ms | 456kb | OK | 10 |
| 3 | 0ms | 456kb | OK | 10 |
| 4 | 4ms | 492kb | OK | 10 |
| 5 | 16ms | 648kb | OK | 10 |
| 6 | 36ms | 844kb | OK | 10 |
| 7 | 68ms | 1232kb | OK | 10 |
| 8 | 172ms | 2408kb | OK | 10 |
| 9 | 292ms | 4356kb | OK | 10 |
| 10 | Depăşit | 4356kb | Time limit exceeded. | 0 |
| Punctaj total | 90 |