Pagini recente » Borderou de evaluare (job #346017) | Borderou de evaluare (job #645370) | Borderou de evaluare (job #2449951) | Borderou de evaluare (job #1023375) | Borderou de evaluare (job #1881786)
Borderou de evaluare (job #1881786)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc13.in","r",stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc13.out","w",stdout);
^
user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:27:66: 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 - 1];
^
user.cpp:28:66: 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", &b[i]), b[i] += b[i - 1];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 0ms | 452kb | OK | 10 |
4 | 0ms | 448kb | OK | 10 |
5 | 0ms | 456kb | OK | 10 |
6 | 0ms | 468kb | OK | 10 |
7 | 0ms | 500kb | OK | 10 |
8 | 0ms | 504kb | OK | 10 |
9 | 0ms | 520kb | OK | 10 |
10 | 0ms | 524kb | OK | 10 |
Punctaj total | 100 |