Pagini recente » Borderou de evaluare (job #1279370) | Borderou de evaluare (job #124287) | Borderou de evaluare (job #2706256) | Borderou de evaluare (job #1916504) | Borderou de evaluare (job #2059633)
Borderou de evaluare (job #2059633)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:26: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
if ((x != 0 || y != 0 | z != 0) && (n - (6 * x * x + y * y + 6 * x * y + 2 * z * z + 8 * x * z + 4 * y * z)) % (4 * x + 2 * y + 2 * z) == 0)
^
user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("equicover.in", "r", stdin);
^
user.cpp:7:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("equicover.out", "w", stdout);
^
user.cpp:10:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 5 |
2 | 0ms | 268kb | OK | 5 |
3 | 0ms | 264kb | OK | 5 |
4 | 0ms | 260kb | OK | 5 |
5 | 0ms | 268kb | OK | 5 |
6 | 0ms | 268kb | OK | 5 |
7 | 0ms | 268kb | OK | 5 |
8 | 0ms | 260kb | OK | 5 |
9 | 4ms | 264kb | OK | 5 |
10 | 4ms | 264kb | OK | 5 |
11 | 8ms | 264kb | OK | 5 |
12 | 12ms | 260kb | OK | 5 |
13 | 28ms | 268kb | OK | 5 |
14 | 52ms | 268kb | OK | 5 |
15 | 124ms | 264kb | OK | 5 |
16 | 320ms | 268kb | OK | 5 |
17 | 636ms | 260kb | OK | 5 |
18 | 764ms | 268kb | OK | 5 |
19 | 916ms | 264kb | OK | 5 |
20 | 948ms | 264kb | OK | 5 |
Punctaj total | 100 |