Pagini recente » Borderou de evaluare (job #479536) | Borderou de evaluare (job #630296) | Borderou de evaluare (job #62542) | Borderou de evaluare (job #536848) | Borderou de evaluare (job #1563418)
Borderou de evaluare (job #1563418)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mincinosi.in", "r", stdin);
^
user.cpp:9:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mincinosi.out", "w", stdout);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:23:9: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[i]==ans)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | Corect! | 10 |
| 2 | 0ms | 280kb | Corect! | 10 |
| 3 | 0ms | 280kb | Corect! | 10 |
| 4 | 4ms | 396kb | Corect! | 10 |
| 5 | 24ms | 900kb | Corect! | 10 |
| 6 | 72ms | 1916kb | Corect! | 10 |
| 7 | 176ms | 4180kb | Corect! | 10 |
| 8 | 272ms | 5748kb | Corect! | 10 |
| 9 | 468ms | 8072kb | Corect! | 10 |
| 10 | 476ms | 8072kb | Corect! | 10 |
| Punctaj total | 100 |