Problem | lcm |
---|---|
User | isaackhong |
Submission Time | 2023-04-29 14:51:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lcm.cpp:5:15: error: ‘ll’ was not declared in this scope
5 | long long lcm(ll a, ll b) { return (a / __gcd(a, b)) * b; }
| ^~
lcm.cpp:5:21: error: ‘ll’ was not declared in this scope
5 | long long lcm(ll a, ll b) { return (a / __gcd(a, b)) * b; }
| ^~
lcm.cpp:5:25: error: expression list treated as compound expression in initializer [-fpermissive]
5 | long long lcm(ll a, ll b) { return (a / __gcd(a, b)) * b; }
| ^
lcm.cpp: In function ‘int main()’:
lcm.cpp:13:7: error: ‘i’ was not declared in this scope
13 | rep(i, 0, n) {
| ^
lcm.cpp:13:3: error: ‘rep’ was not declared in this scope
13 | rep(i, 0, n) {
| ^~~