Pagini recente » Borderou de evaluare (job #1200000) | Borderou de evaluare (job #2848503) | Borderou de evaluare (job #2904479) | Borderou de evaluare (job #3221552) | Borderou de evaluare (job #1401989)
Borderou de evaluare (job #1401989)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma2.in","r",stdin);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma2.out","w",stdout);
^
user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:23:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) scanf("%hd",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 4ms | 284kb | OK | 10 |
6 | 4ms | 300kb | OK | 10 |
7 | 12ms | 344kb | OK | 10 |
8 | 16ms | 440kb | OK | 10 |
9 | 36ms | 548kb | OK | 10 |
10 | 48ms | 632kb | OK | 10 |
Punctaj total | 100 |