Borderou de evaluare (job #807512)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Punga (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 feb. 2025 20:17:11 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:9: error: expected unqualified-id before '__int128'
7 | typedef __int128 big_int;
| ^~~~~~~~
main.cpp: In function 'bool exists_solution(ull, ull, ull&, ull&)':
main.cpp:25:5: error: 'big_int' was not declared in this scope; did you mean 'u_int'?
25 | big_int s_big = s;
| ^~~~~~~
| u_int
main.cpp:26:12: error: expected ';' before 'D'
26 | big_int D = s_big * s_big - 4 * (big_int)K;
| ^~
| ;
main.cpp:27:9: error: 'D' was not declared in this scope
27 | if (D < 0) return false;
| ^
main.cpp:30:34: error: 'D' was not declared in this scope
30 | ull sqrt_D = (ull)isqrt((ull)D);
| ^