Pagini recente » Borderou de evaluare (job #1116025) | Borderou de evaluare (job #1492354) | Borderou de evaluare (job #2621467) | Borderou de evaluare (job #3175849) | Borderou de evaluare (job #2010863)
Borderou de evaluare (job #2010863)
Raport evaluator
Compilare:
user.cpp:4:25: warning: integer overflow in expression [-Woverflow]
const int inf = (1<<31)-1;
^
user.cpp: In function ‘int main()’:
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
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("scmax.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]); v[i]=inf;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 292kb | Corect! | 10 | 10 |
2 | 0ms | 316kb | Corect! | 10 | 10 |
3 | 0ms | 280kb | Corect! | 10 | 10 |
4 | 0ms | 284kb | Corect! | 10 | 10 |
5 | 0ms | 288kb | Corect! | 10 | 10 |
6 | 0ms | 292kb | Corect! | 10 | 10 |
7 | 0ms | 300kb | Corect! | 10 | 10 |
8 | 44ms | 1440kb | Corect! | 10 | 30 |
9 | 40ms | 1436kb | Corect! | 10 |
10 | 44ms | 1440kb | Corect! | 10 |
Punctaj total | 100 |