QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#310501 | #5446. 琪露诺的符卡交换 | LiuXuanDe | Compile Error | / | / | C++14 | 8.9kb | 2024-01-21 14:57:29 | 2024-01-21 14:57:29 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:223: warning: "int" redefined 223 | #define int LL | answer.code:104: note: this is the location of the previous definition 104 | #define int long long | answer.code:236:18: error: redefinition of ‘constexpr const double EPS’ 236 | constexpr double EPS=(1e-9); | ^~~ answer.code:30:18: note: ‘constexpr const double EPS’ previously defined here 30 | constexpr double EPS=(1e-9); | ^~~ answer.code:238:15: error: redefinition of ‘constexpr const long long int INF’ 238 | constexpr int INF=1211081101201201140; | ^~~ answer.code:32:15: note: ‘constexpr const long long int INF’ previously defined here 32 | constexpr int INF=1211081101201201140; | ^~~ answer.code:242:23: error: redefinition of ‘template<class T> T Max(T, T)’ 242 | template<typename T>T Max(T x,T y){return MAX(x,y);} | ^~~ answer.code:36:23: note: ‘template<class T> T Max(T, T)’ previously declared here 36 | template<typename T>T Max(T x,T y){return MAX(x,y);} | ^~~ answer.code:243:23: error: redefinition of ‘template<class T> T Min(T, T)’ 243 | template<typename T>T Min(T x,T y){return MIN(x,y);} | ^~~ answer.code:37:23: note: ‘template<class T> T Min(T, T)’ previously declared here 37 | template<typename T>T Min(T x,T y){return MIN(x,y);} | ^~~ answer.code:244:23: error: redefinition of ‘template<class T> T Abs(T)’ 244 | template<typename T>T Abs(T x){return ABS(x);} | ^~~ answer.code:38:23: note: ‘template<class T> T Abs(T)’ previously declared here 38 | template<typename T>T Abs(T x){return ABS(x);} | ^~~ answer.code:245:26: error: redefinition of ‘template<class T> void Swap(T&, T&)’ 245 | template<typename T>void Swap(T&x,T&y){x^=y^=x^=y;} | ^~~~ answer.code:39:26: note: ‘template<class T> void Swap(T&, T&)’ previously declared here 39 | template<typename T>void Swap(T&x,T&y){x^=y^=x^=y;} | ^~~~ answer.code:246:23: error: redefinition of ‘template<class T> T Gcd(T, T)’ 246 | template<typename T>T Gcd(T x,T y){while(y^=x^=y^=x%=y);return x;} | ^~~ answer.code:40:23: note: ‘template<class T> T Gcd(T, T)’ previously declared here 40 | template<typename T>T Gcd(T x,T y){while(y^=x^=y^=x%=y);return x;} | ^~~ answer.code:248:3: error: redefinition of ‘template<class T> T qp(T, T)’ 248 | T qp(T a,T b){T sum=1; | ^~ answer.code:42:3: note: ‘template<class T> T qp(T, T)’ previously declared here 42 | T qp(T a,T b){T sum=1; | ^~ answer.code:251:6: error: redefinition of ‘template<class T> void read(T&)’ 251 | void read(T&x){ | ^~~~ answer.code:45:6: note: ‘template<class T> void read(T&)’ previously declared here 45 | void read(T&x){ | ^~~~ answer.code:256:6: error: redefinition of ‘template<class T> void write(T)’ 256 | void write(T x){if(x<0){x=-x;putchar('-');} | ^~~~~ answer.code:50:6: note: ‘template<class T> void write(T)’ previously declared here 50 | void write(T x){if(x<0){x=-x;putchar('-');} | ^~~~~ answer.code:258:5: error: redefinition of ‘long long int n’ 258 | int n; | ^ answer.code:52:5: note: ‘long long int n’ previously declared here 52 | int n; | ^ answer.code:259:5: error: redefinition of ‘long long int cnt’ 259 | int cnt,S,T; | ^~~ answer.code:53:5: note: ‘long long int cnt’ previously declared here 53 | int cnt,S,T; | ^~~ answer.code:259:9: error: redefinition of ‘long long int S’ 259 | int cnt,S,T; | ^ answer.code:53:9: note: ‘long long int S’ previously declared here 53 | int cnt,S,T; | ^ answer.code:259:11: error: redefinition of ‘long long int T’ 259 | int cnt,S,T; | ^ answer.code:53:11: note: ‘long long int T’ previously declared here 53 | int cnt,S,T; | ^ answer.code:260:5: error: redefinition of ‘long long int t [1000005]’ 260 | int t[M],las[M],fir[M],c[M],num=1; | ^ answer.code:54:5: note: ‘long long int t [1000005]’ previously declared here 54 | int t[M],las[M],fir[M],c[M],num=1; | ^ answer.code:260:10: error: redefinition of ‘long long int las [1000005]’ 260 | int t[M],las[M],fir[M],c[M],num=1; | ^~~ answer.code:54:10: note: ‘long long int las [1000005]’ previously declared here 54 | int t[M],las[M],fir[M],c[M],num=1; | ^~~ answer.code:260:17: error: redefinition of ‘long long int fir [1000005]’ 260 | int t[M],las[M],fir[M],c[M],num=1; | ^~~ answer.code:54:17: note: ‘long long int fir [1000005]’ previously declared here 54 | int t[M],las[M],fir[M],c[M],num=1; | ^~~ answer.code:260:24: error: redefi...