Submission #612750

#TimeUTC-0UsernameProblemLanguageResultExecution timeMemory
6127502022-07-29 23:12:35nohaxjustsofloGame (IOI14_game)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
typedef tree<ll,null_type,less_equal<ll>,rb_tree_tag,tree_order_statistics_node_update> order_set;
mt19937 mt_rand(chrono::high_resolution_clock::now().time_since_epoch().count());
//uniform_int_distribution<int> gen; ///(min, max)
//int random() {return gen(mt_rand);}
const int mxN=3003;
const int mod=998244353;
const int mxlogN=40;
const int mxK=26;
const ll inf=1e18;
const int K=600;
#define pii pair<int,int>
#define pb push_back
const int N=1500*1500+1;
const int L=22;
const int M=N*L*2;
stack<int> reu;
int tsz,go[M][2],fa[M],sz[M],my_mask[M],mask[M];
pii my_edg[M];
int New(){
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Compilation message (stderr)

game.cpp: In function 'void rot(int)':
game.cpp:40:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   40 |  if(~q)go[z][q]=x;go[x][p^1]=y;go[y][p]=w;
      |  ^~
game.cpp:40:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   40 |  if(~q)go[z][q]=x;go[x][p^1]=y;go[y][p]=w;
      |                   ^~
game.cpp:41:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   41 |  if(w)fa[w]=y;fa[y]=x;fa[x]=z;
      |  ^~
game.cpp:41:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   41 |  if(w)fa[w]=y;fa[y]=x;fa[x]=z;
      |               ^~
/tmp/ccJtTEib.o: in function `New()':
game.cpp:(.text+0x3a7): relocation truncated to fit: R_X86_64_PC32 against symbol `reu' defined in .bss section in /tmp/ccJtTEib.o
game.cpp:(.text+0x3ae): relocation truncated to fit: R_X86_64_PC32 against symbol `reu' defined in .bss section in /tmp/ccJtTEib.o
game.cpp:(.text+0x3b9): relocation truncated to fit: R_X86_64_PC32 against symbol `reu' defined in .bss section in /tmp/ccJtTEib.o
game.cpp:(.text+0x3ca): relocation truncated to fit: R_X86_64_PC32 against symbol `reu' defined in .bss section in /tmp/ccJtTEib.o
game.cpp:(.text+0x3e2): relocation truncated to fit: R_X86_64_PC32 against symbol `go' defined in .bss section in /tmp/ccJtTEib.o
game.cpp:(.text+0x422): relocation truncated to fit: R_X86_64_PC32 against symbol `tsz' defined in .bss section in /tmp/ccJtTEib.o
game.cpp:(.text+0x42d): relocation truncated to fit: R_X86_64_PC32 against symbol `tsz' defined in .bss section in /tmp/ccJtTEib.o
game.cpp:(.text+0x43b): relocation truncated to fit: R_X86_64_PC32 against symbol `reu' defined in .bss section in /tmp/ccJtTEib.o
game.cpp:(.text+0x457): relocation truncated to fit: R_X86_64_PC32 against symbol `reu' defined in .bss section in /tmp/ccJtTEib.o
game.cpp:(.text+0x466): relocation truncated to fit: R_X86_64_PC32 against symbol `reu' defined in .bss section in /tmp/ccJtTEib.o
game.cpp:(.text+0x46d): additional relocation overflows omitted from the output
/usr/bin/ld: failed to convert GOTPCREL relocation; relink with --no-relax
collect2: error: ld returned 1 exit status