Pagini recente » Borderou de evaluare (job #3183929) | Cod sursa (job #706901) | Borderou de evaluare (job #1874314) | Borderou de evaluare (job #1157914) | 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 |