Borderou de evaluare (job #782067)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Cyber (clasa 5-6) | Compilator | cpp-32 |
| Rundă | Nerdvana SummerCamps - Ed2 - 1 | Status | evaluat |
| Dată | 11 iul. 2024 09:43:10 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:5: error: size '4000000004' of array 'ciur' exceeds maximum object size '2147483647'
8 | int ciur[1000000001];
| ^~~~
main.cpp: In function 'int main()':
main.cpp:22:24: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
22 | while (!(a % i == b % i == c % i)) {
| ~~~~~~^~~~~~~~
main.cpp:25:29: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
25 | if (i == 2 && a % i != b % i != c % i) {
| ~~~~~~^~~~~~~~
main.cpp:34:9: error: 'ciur' was not declared in this scope
34 | ciur[0] = 1, ciur[1] = 1;
| ^~~~