Pagini recente » Cod sursa (job #1033311) | Borderou de evaluare (job #2861058) | Borderou de evaluare (job #2836025) | Borderou de evaluare (job #1100096) | Borderou de evaluare (job #1416638)
Borderou de evaluare (job #1416638)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir3.in","r",stdin);
^
user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir3.out","w",stdout);
^
user.cpp:36:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld",&n,&S);
^
user.cpp:39:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 10 |
2 | 8ms | 524kb | OK | 10 |
3 | 12ms | 688kb | OK | 10 |
4 | 32ms | 1232kb | OK | 10 |
5 | 164ms | 4380kb | OK | 10 |
6 | 180ms | 4648kb | OK | 10 |
7 | 184ms | 4928kb | OK | 10 |
8 | 196ms | 5200kb | OK | 10 |
9 | 208ms | 5476kb | OK | 10 |
10 | 224ms | 5736kb | OK | 10 |
Punctaj total | 100 |