Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1889287)
| Utilizator | Data | 22 februarie 2017 17:43:13 | |
|---|---|---|---|
| Problema | Elementul majoritar | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 80 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:34: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:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:43:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tmp);
^
user.cpp: In function ‘int main()’:
user.cpp:63: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:64: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);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 4ms | 260kb | OK | 10 |
| 5 | 20ms | 264kb | OK | 10 |
| 6 | 48ms | 260kb | OK | 10 |
| 7 | 88ms | 264kb | OK | 10 |
| 8 | 204ms | 264kb | OK | 10 |
| 9 | Depăşit | 236kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 232kb | Time limit exceeded. | 0 |
| Punctaj total | 80 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
