Pagini recente » Borderou de evaluare (job #2626300) | Borderou de evaluare (job #2952460) | Borderou de evaluare (job #3250024) | Borderou de evaluare (job #520485) | Borderou de evaluare (job #190999)
Borderou de evaluare (job #190999)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:131:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("borcane.in","r",stdin);
^
user.cpp:132:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("borcane.out","w",stdout);
^
user.cpp:135:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:136:44: 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",v+i); suma += v[i]; }
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK! | 10 |
2 | 0ms | 272kb | OK! | 10 |
3 | 0ms | 272kb | OK! | 10 |
4 | 0ms | 264kb | OK! | 10 |
5 | 0ms | 264kb | OK! | 10 |
6 | 4ms | 264kb | OK! | 10 |
7 | 12ms | 264kb | OK! | 10 |
8 | 20ms | 268kb | OK! | 10 |
9 | 48ms | 260kb | OK! | 10 |
10 | 0ms | 268kb | OK! | 10 |
Punctaj total | 100 |