Problem lcm
User avner21
Submission Time 2023-04-25 11:12:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcm.cpp:11:12: error: declaration does not declare anything [-fpermissive]
11 | # define U ull;
| ^~~
lcm.cpp:15:1: note: in expansion of macro ‘U’
15 | U G(U a, U b) {
| ^
lcm.cpp:7:12: error: ‘gcd’ does not name a type
7 | # define G gcd;
| ^~~
lcm.cpp:15:3: note: in expansion of macro ‘G’
15 | U G(U a, U b) {
| ^
lcm.cpp:11:15: error: expected ‘)’ before ‘;’ token
11 | # define U ull;
| ^
lcm.cpp:15:5: note: in expansion of macro ‘U’
15 | U G(U a, U b) {
| ^
lcm.cpp:15:4: note: to match this ‘(’
15 | U G(U a, U b) {
| ^
lcm.cpp:15:7: error: ‘a’ does not name a type
15 | U G(U a, U b) {
| ^
lcm.cpp:15:12: error: ‘b’ does not name a type
15 | U G(U a, U b) {
| ^
lcm.cpp: In function ‘int main()’:
lcm.cpp:11:12: error: declaration does not declare anything [-fpe