strange_device.cpp: In function 'int main()':
strange_device.cpp:17:66: error: expected ')' before ';' token
17 | t=min((__int128_t)a*(__int128_t)b/gcd(a,b+1),(__int128_t)1e18;)
| ~ ^
| )
strange_device.cpp:17:67: error: expected primary-expression before ')' token
17 | t=min((__int128_t)a*(__int128_t)b/gcd(a,b+1),(__int128_t)1e18;)
| ^
strange_device.cpp:35:13: error: 'st' was not declared in this scope; did you mean 't'?
35 | st.insert({l[i],r[i]});
| ^~
| t
strange_device.cpp:39:13: error: 'st' was not declared in this scope; did you mean 't'?
39 | st.insert({l[i],t-1});
| ^~
| t
strange_device.cpp:47:17: error: 'st' was not declared in this scope; did you mean 't'?
47 | for (auto z:st){
| ^~
| t
strange_device.cpp:55:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for (int i=1;i<pasang.size();i++){
| ~^~~~~~~~~~~~~~
strange_device.cpp:69:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | for (int i=0;i<jawab.size();i++){
| ~^~~~~~~~~~~~~
strange_device.cpp:10:8: warning: unused variable 'x' [-Wunused-variable]
10 | ll x;
| ^