QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#101010 | #2928. Espresso! | HuangHanSheng | Compile Error | / | / | C++98 | 624b | 2023-04-28 23:42:48 | 2023-04-28 23:42:50 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:2:7: error: expected nested-name-specifier before ‘ll’ 2 | using ll = long long; | ^~ answer.code:6:1: error: ‘ll’ does not name a type; did you mean ‘all’? 6 | ll mod =1e9+7; | ^~ | all answer.code: In function ‘void solve()’: answer.code:8:5: error: ‘ll’ was not declared in this scope; did you mean ‘all’? 8 | ll n,x,pos;cin>>n>>x>>pos; | ^~ | all answer.code:8:21: error: ‘n’ was not declared in this scope; did you mean ‘yn’? 8 | ll n,x,pos;cin>>n>>x>>pos; | ^ | yn answer.code:8:24: error: ‘x’ was not declared in this scope 8 | ll n,x,pos;cin>>n>>x>>pos; | ^ answer.code:8:27: error: ‘pos’ was not declared in this scope; did you mean ‘pow’? 8 | ll n,x,pos;cin>>n>>x>>pos; | ^~~ | pow answer.code:10:7: error: expected ‘;’ before ‘res’ 10 | ll res=1; | ^~~~ | ; answer.code:12:9: error: ‘res’ was not declared in this scope 12 | res=res*n%mod; | ^~~ answer.code:12:19: error: ‘mod’ was not declared in this scope; did you mean ‘modf’? 12 | res=res*n%mod; | ^~~ | modf answer.code:16:11: error: ‘res’ was not declared in this scope 16 | cout<<res; | ^~~ answer.code: In function ‘int main()’: answer.code:20:5: error: ‘ll’ was not declared in this scope; did you mean ‘all’? 20 | ll n,s,cnt=0,temp;cin>>n>>s;temp=s; | ^~ | all answer.code:20:28: error: ‘n’ was not declared in this scope; did you mean ‘yn’? 20 | ll n,s,cnt=0,temp;cin>>n>>s;temp=s; | ^ | yn answer.code:20:31: error: ‘s’ was not declared in this scope 20 | ll n,s,cnt=0,temp;cin>>n>>s;temp=s; | ^ answer.code:20:33: error: ‘temp’ was not declared in this scope; did you mean ‘tm’? 20 | ll n,s,cnt=0,temp;cin>>n>>s;temp=s; | ^~~~ | tm answer.code:25:23: error: ‘cnt’ was not declared in this scope; did you mean ‘int’? 25 | if(s<x)s=temp,cnt++; | ^~~ | int answer.code:28:11: error: ‘cnt’ was not declared in this scope; did you mean ‘int’? 28 | cout<<cnt<<'\n'; | ^~~ | int