Problem fractions
User Shadow1
Submission Time 2024-05-30 13:52:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fractions.cpp:6:22: error: expected ‘;’ before ‘using’
6 | using ll = __int128_t
| ^
| ;
7 | using ld = long double;
| ~~~~~
fractions.cpp:30:1: error: ‘ll’ does not name a type; did you mean ‘ull’?
30 | ll lcm(ll a, ll b) {
| ^~
| ull
fractions.cpp: In function ‘void solve()’:
fractions.cpp:37:14: error: ‘ll’ was not declared in this scope; did you mean ‘ull’?
37 | vector<pair<ll,ll>> f(n);
| ^~
| ull
fractions.cpp:37:17: error: template argument 1 is invalid
37 | vector<pair<ll,ll>> f(n);
| ^~
fractions.cpp:37:19: error: template argument 1 is invalid
37 | vector<pair<ll,ll>> f(n);
| ^~
fractions.cpp:37:19: error: template argument 2 is invalid
fractions.cpp:38:4: error: expected ‘;’ before