Pagini recente » Borderou de evaluare (job #1499856) | Borderou de evaluare (job #1275167) | Borderou de evaluare (job #2032249) | Borderou de evaluare (job #256737) | Borderou de evaluare (job #1486084)
Borderou de evaluare (job #1486084)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sao.in","r",stdin);
^
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("sao.out","w",stdout);
^
user.cpp:15:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lld",&n,&k,&hp);
^
user.cpp:16:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) scanf("%d",&a[i]), a[i]=-a[i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 292kb | Incorect | 0 |
3 | 0ms | 300kb | Incorect | 0 |
4 | 0ms | 312kb | Incorect | 0 |
5 | 44ms | 1468kb | Incorect | 0 |
6 | 88ms | 2720kb | Incorect | 0 |
7 | 96ms | 3020kb | OK | 10 |
8 | 96ms | 3028kb | OK | 10 |
9 | 96ms | 3024kb | OK | 10 |
10 | 96ms | 3020kb | OK | 10 |
Punctaj total | 50 |