Pagini recente » Borderou de evaluare (job #309735) | Borderou de evaluare (job #2973994) | Borderou de evaluare (job #2857239) | Borderou de evaluare (job #2136370) | Borderou de evaluare (job #2077137)
Borderou de evaluare (job #2077137)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("auto.in","r",stdin);
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("auto.out","w",stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:56: 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("%d",&a[i]),suma+=a[i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 484kb | OK | 10 |
2 | 0ms | 484kb | OK | 10 |
3 | 4ms | 492kb | OK | 10 |
4 | 4ms | 492kb | OK | 10 |
5 | 4ms | 496kb | OK | 10 |
6 | 4ms | 496kb | OK | 10 |
7 | 76ms | 552kb | OK | 10 |
8 | 84ms | 556kb | OK | 10 |
9 | 84ms | 556kb | OK | 10 |
10 | 0ms | 484kb | OK | 10 |
Punctaj total | 100 |