Problem | mathclass |
---|---|
User | YSH2020 |
Submission Time | 2024-09-08 15:56:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mathclass.cpp: In function ‘long long int gcd(long long int, long long int)’:
mathclass.cpp:3:13: error: ‘__int256’ was not declared in this scope; did you mean ‘__int32_t’?
3 | #define int __int256
| ^~~~~~~~
mathclass.cpp:12:2: note: in expansion of macro ‘int’
12 | int tmp = a%b;
| ^~~
mathclass.cpp:13:19: error: ‘tmp’ was not declared in this scope; did you mean ‘tm’?
13 | return gcd(b, tmp);
| ^~~
| tm
mathclass.cpp: In function ‘int main()’:
mathclass.cpp:3:13: error: ‘__int256’ was not declared in this scope; did you mean ‘__int32_t’?
3 | #define int __int256
| ^~~~~~~~
mathclass.cpp:25:9: note: in expansion of macro ‘int’
25 | int tmp = gcd(b, a);
| ^~~
mathclass.cpp:26:14: error: expected ‘;’ before ‘tmp1’
26 | int tmp1 = a/tmp;
| ^~~~
mathclass.cpp:27