Pagini recente » Cod sursa (job #3199514) | Borderou de evaluare (job #1373123)
Borderou de evaluare (job #1373123)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("profit.in","r",stdin);
^
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("profit.out","w",stdout);
^
user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:17:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; ++i) scanf("%lld",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 0ms | 288kb | Incorect | 0 |
4 | 0ms | 292kb | OK | 10 |
5 | 0ms | 300kb | Incorect | 0 |
6 | 0ms | 296kb | Incorect | 0 |
7 | 0ms | 292kb | OK | 10 |
8 | 4ms | 300kb | Incorect | 0 |
9 | 16ms | 308kb | Incorect | 0 |
10 | 4ms | 312kb | OK | 10 |
Punctaj total | 40 |