Pagini recente » Borderou de evaluare (job #70270) | Borderou de evaluare (job #2191309) | Borderou de evaluare (job #144240) | Borderou de evaluare (job #1733696) | Borderou de evaluare (job #1554399)
Borderou de evaluare (job #1554399)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:23: warning: unused variable ‘x’ [-Wunused-variable]
int smax=0, i, n, x, k=0;
^
user.cpp:9:26: warning: unused variable ‘k’ [-Wunused-variable]
int smax=0, i, n, x, k=0;
^
user.cpp:7: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:8: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:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Corect! | 10 |
2 | 0ms | 280kb | Corect! | 10 |
3 | 0ms | 264kb | Corect! | 10 |
4 | 4ms | 384kb | Corect! | 10 |
5 | 24ms | 896kb | Corect! | 10 |
6 | 76ms | 1912kb | Corect! | 10 |
7 | 196ms | 4180kb | Corect! | 10 |
8 | 288ms | 5740kb | Corect! | 10 |
9 | 472ms | 8072kb | Corect! | 10 |
10 | 464ms | 8076kb | Corect! | 10 |
Punctaj total | 100 |