strange_device.cpp:6:14: error: declaration does not declare anything [-fpermissive]
6 | #define i128 __int128_t;
| ^~~~~~~~~~
strange_device.cpp:12:1: note: in expansion of macro 'i128'
12 | i128 gcd(i128 a, i128 b) {
| ^~~~
strange_device.cpp:6:24: error: expected ')' before ';' token
6 | #define i128 __int128_t;
| ^
strange_device.cpp:12:10: note: in expansion of macro 'i128'
12 | i128 gcd(i128 a, i128 b) {
| ^~~~
strange_device.cpp:12:9: note: to match this '('
12 | i128 gcd(i128 a, i128 b) {
| ^
strange_device.cpp:6:24: error: expected constructor, destructor, or type conversion before ';' token
6 | #define i128 __int128_t;
| ^
strange_device.cpp:12:10: note: in expansion of macro 'i128'
12 | i128 gcd(i128 a, i128 b) {
| ^~~~
strange_device.cpp:12:15: error: 'a' does not name a type
12 | i128 gcd(i128 a, i128 b) {
| ^
strange_device.cpp:12:23: error: 'b' does not name a type
12 | i128 gcd(i128 a, i128 b) {
| ^
strange_device.cpp: In function 'int main()':
strange_device.cpp:6:14: error: declaration does not declare anything [-fpermissive]
6 | #define i128 __int128_t;
| ^~~~~~~~~~
strange_device.cpp:18:3: note: in expansion of macro 'i128'
18 | i128 temp;
| ^~~~
strange_device.cpp:18:8: error: 'temp' was not declared in this scope
18 | i128 temp;
| ^~~~
strange_device.cpp:48:21: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | for (int i = 0; i < sg.size(); i++) {
| ~~^~~~~~~~~~~