Pagini recente » Borderou de evaluare (job #1549690) | Borderou de evaluare (job #216326) | Borderou de evaluare (job #1198538) | Borderou de evaluare (job #1731352) | Borderou de evaluare (job #1783253)
Borderou de evaluare (job #1783253)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:12: warning: unused variable ‘x’ [-Wunused-variable]
int i, x, pas, rez;
^
user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sume2.in", "r", stdin);
^
user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sume2.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%u", &n, &k);
^
user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 4ms | 312kb | OK | 10 |
5 | 12ms | 356kb | OK | 10 |
6 | 16ms | 400kb | OK | 10 |
7 | 24ms | 428kb | OK | 10 |
8 | 28ms | 464kb | OK | 10 |
9 | 28ms | 468kb | OK | 10 |
10 | 24ms | 472kb | OK | 10 |
Punctaj total | 100 |