Main.cpp: In function 'node merge(node, node)':
Main.cpp:20:20: error: 'struct node' has no member named 'max'; did you mean 'maxi'?
20 | c.maxi = max(a.max + a.decalage, b.max + b.decalage);
| ^~~
| maxi
Main.cpp:20:40: error: 'struct node' has no member named 'max'; did you mean 'maxi'?
20 | c.maxi = max(a.max + a.decalage, b.max + b.decalage);
| ^~~
| maxi
Main.cpp:21:20: error: 'struct node' has no member named 'min'; did you mean 'mini'?
21 | c.mini = min(a.min + a.decalage, b.min + b.decalage);
| ^~~
| mini
Main.cpp:21:40: error: 'struct node' has no member named 'min'; did you mean 'mini'?
21 | c.mini = min(a.min + a.decalage, b.min + b.decalage);
| ^~~
| mini
Main.cpp:22:23: error: 'struct node' has no member named 'max'; did you mean 'maxi'?
22 | c.reponse = max(b.max - a.min, max(a.reponse, b.reponse));
| ^~~
| maxi
Main.cpp:22:31: error: 'struct node' has no member named 'min'; did you mean 'mini'?
22 | c.reponse = max(b.max - a.min, max(a.reponse, b.reponse));
| ^~~
| mini
Main.cpp: In function 'void decalage(long long int, long long int, long long int, long long int, long long int)':
Main.cpp:48:5: error: expected primary-expression before '}' token
48 | }
| ^
Main.cpp:49:21: error: expected primary-expression before ')' token
49 | decalage(i * 2, )
| ^
Main.cpp: In function 'int main()':
Main.cpp:95:36: error: '__gnu_cxx::__alloc_traits<std::allocator<node>, node>::value_type' {aka 'struct node'} has no member named 'max'; did you mean 'maxi'?
95 | segtree[n + m + i + 1].max = points[i].first;
| ^~~
| maxi
Main.cpp:96:36: error: '__gnu_cxx::__alloc_traits<std::allocator<node>, node>::value_type' {aka 'struct node'} has no member named 'min'; did you mean 'mini'?
96 | segtree[n + m + i + 1].min = points[i].first;
| ^~~
| mini
Main.cpp:108:11: error: 'struct node' has no member named 'max'; did you mean 'maxi'?
108 | a.max = points[pos];
| ^~~
| maxi
Main.cpp:109:11: error: 'struct node' has no member named 'min'; did you mean 'mini'?
109 | a.min = points[pos];
| ^~~
| mini
Main.cpp:113:42: error: expected ';' before 'cout'
113 | decalage(1, 0, pos, n + m, n + m)
| ^
| ;
114 |
115 | cout << segtree[1].reponse << ' ';
| ~~~~