QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#486865 | #1820. Contest Construction | 415411# | Compile Error | / | / | C++14 | 1.5kb | 2024-07-22 09:28:29 | 2024-07-22 09:28:30 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:1:2: error: stray ‘#’ in program 1 | a#include <bits/stdc++.h> | ^ answer.code:1:1: error: ‘a’ does not name a type 1 | a#include <bits/stdc++.h> | ^ answer.code:4:10: error: ‘vector’ does not name a type 4 | using vi=vector<ll>; | ^~~~~~ answer.code:5:10: error: ‘pair’ does not name a type 5 | using pi=pair<int,int>; | ^~~~ answer.code:24:1: error: ‘string’ does not name a type 24 | string to_string(string a){ | ^~~~~~ answer.code:28:1: error: ‘string’ does not name a type 28 | string to_string(A a){ | ^~~~~~ answer.code: In function ‘void DO(A)’: answer.code:37:9: error: ‘cout’ was not declared in this scope 37 | cout<<to_string(a)<<'\n'; | ^~~~ answer.code: In function ‘void DO(A, B ...)’: answer.code:41:9: error: ‘cout’ was not declared in this scope 41 | cout<<to_string(a)<<' '; | ^~~~ answer.code: In function ‘int main()’: answer.code:51:9: error: ‘cin’ was not declared in this scope; did you mean ‘cmn’? 51 | cin.tie(0)->ios::sync_with_stdio(0); | ^~~ | cmn answer.code:51:21: error: request for member ‘ios’ in non-class type ‘<type error>’ 51 | cin.tie(0)->ios::sync_with_stdio(0); | ^~~ answer.code:54:9: error: ‘sort’ was not declared in this scope; did you mean ‘short’? 54 | sort(a+1,a+n+1); | ^~~~ | short answer.code:70:9: error: ‘cout’ was not declared in this scope 70 | cout<<ans<<'\n'; | ^~~~