strange_device.cpp: In function 'int main()':
strange_device.cpp:4:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(n) for(int i=0;i<n;++i)
~^~~~~~~~
#define all(i) begin(i),end(i)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define Sort(a) sort(all(a))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define Rev(a) reverse(all(a))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~
~
~
using u128 = __uint128_t;
~~~~~~~~~~~~~~~~~~~~~~~~~~
signed main(){
~~~~~~~~~~~~~~~
cin.tie(nullptr);
~~~~~~~~~~~~~~~~~~
ios::sync_with_stdio(false);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ull n, a, b;
~~~~~~~~~~~~~
cin >> n >> a >> b;
~~~~~~~~~~~~~~~~~~~~
u128 mod = a / gcd(a, b + 1) * u128(b);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vector<pair<ull, int>> query;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rep(n){
~~~~~
strange_device.cpp:19:5: note: in expansion of macro 'rep'
rep(n){
^~~