QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#685380 | #9528. New Energy Vehicle | ucup-team4959 | Compile Error | / | / | C++20 | 3.6kb | 2024-10-28 19:09:39 | 2024-10-28 19:09:39 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:96: warning: "fixset" redefined 96 | #define fixset(x) fixed << setprecision(x) | answer.code:21: note: this is the location of the previous definition 21 | #define fixset(x) fixed<<setprecision(x) | answer.code:100: warning: "all" redefined 100 | #define all(x) (x).begin(), (x).end() | answer.code:25: note: this is the location of the previous definition 25 | #define all(x) (x).begin(),(x).end() | answer.code:101: warning: "ALL" redefined 101 | #define ALL(x) (x).begin() + 1, (x).end() | answer.code:26: note: this is the location of the previous definition 26 | #define ALL(x) (x).begin()+1,(x).end() | answer.code:83:6: error: redefinition of ‘template<class T1, class T2> void cmin(T1&, const T2&)’ 83 | void cmin(T1& x, const T2& y) | ^~~~ answer.code:11:42: note: ‘template<class T1, class T2> void cmin(T1&, const T2&)’ previously declared here 11 | template <typename T1, typename T2> void cmin(T1 &x, const T2 &y) { | ^~~~ answer.code:88:6: error: redefinition of ‘template<class T1, class T2> void cmax(T1&, const T2&)’ 88 | void cmax(T1& x, const T2& y) | ^~~~ answer.code:14:42: note: ‘template<class T1, class T2> void cmax(T1&, const T2&)’ previously declared here 14 | template <typename T1, typename T2> void cmax(T1 &x, const T2 &y) { | ^~~~ answer.code:94:7: error: conflicting declaration ‘using pii = struct std::pair<long long int, long long int>’ 94 | using pii = pair<int, int>; | ^~~ answer.code:19:7: note: previous declaration as ‘using pii = struct std::pair<int, int>’ 19 | using pii = pair<int,int>; | ^~~ answer.code:102:11: error: conflicting declaration ‘const long long int INF’ 102 | const int INF = 1000000000; | ^~~ answer.code:27:11: note: previous declaration as ‘const int INF’ 27 | const int INF = 1000000000; | ^~~ answer.code:103:10: error: redefinition of ‘const ll LNF’ 103 | const ll LNF = 1000000000000000000; | ^~~ answer.code:28:10: note: ‘const ll LNF’ previously defined here 28 | const ll LNF = 1000000000000000000; | ^~~ answer.code:105:6: error: redefinition of ‘void solve()’ 105 | void solve() | ^~~~~ answer.code:30:6: note: ‘void solve()’ previously defined here 30 | void solve() | ^~~~~ answer.code:140:8: error: redefinition of ‘int main()’ 140 | signed main() | ^~~~ answer.code:57:8: note: ‘int main()’ previously defined here 57 | signed main() | ^~~~