QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#455994 | #5414. Stop, Yesterday Please No More | aaaaa | Compile Error | / | / | C++23 | 1.7kb | 2024-06-27 06:02:46 | 2024-06-27 06:02:47 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘void solve()’: answer.code:2:15: error: ‘cin’ was not declared in this scope 2 | int n,m,k;cin>>n>>m>>k; | ^~~ answer.code:4:5: error: ‘string’ was not declared in this scope 4 | string s;cin>>s; | ^~~~~~ answer.code:4:19: error: ‘s’ was not declared in this scope 4 | string s;cin>>s; | ^ answer.code:7:16: error: ‘max’ was not declared in this scope 7 | x1=max(1ll,x1-1); | ^~~ answer.code:9:23: error: ‘cout’ was not declared in this scope 9 | if(!k)cout<<n*m<<endl; | ^~~~ answer.code:9:34: error: ‘endl’ was not declared in this scope 9 | if(!k)cout<<n*m<<endl; | ^~~~ answer.code:10:22: error: ‘cout’ was not declared in this scope 10 | else cout<<0<<endl; | ^~~~ answer.code:10:31: error: ‘endl’ was not declared in this scope 10 | else cout<<0<<endl; | ^~~~ answer.code:16:23: error: ‘cout’ was not declared in this scope 16 | if(!k)cout<<n*m<<endl; | ^~~~ answer.code:16:34: error: ‘endl’ was not declared in this scope 16 | if(!k)cout<<n*m<<endl; | ^~~~ answer.code:17:22: error: ‘cout’ was not declared in this scope 17 | else cout<<0<<endl; | ^~~~ answer.code:17:31: error: ‘endl’ was not declared in this scope 17 | else cout<<0<<endl; | ^~~~ answer.code:20:16: error: ‘min’ was not declared in this scope 20 | x1=min(n,x1+1); | ^~~ answer.code:23:16: error: ‘max’ was not declared in this scope 23 | y1=max(1ll,y1-1); | ^~~ answer.code:25:23: error: ‘cout’ was not declared in this scope 25 | if(!k)cout<<n*m<<endl; | ^~~~ answer.code:25:34: error: ‘endl’ was not declared in this scope 25 | if(!k)cout<<n*m<<endl; | ^~~~ answer.code:26:22: error: ‘cout’ was not declared in this scope 26 | else cout<<0<<endl; | ^~~~ answer.code:26:31: error: ‘endl’ was not declared in this scope 26 | else cout<<0<<endl; | ^~~~ answer.code:32:23: error: ‘cout’ was not declared in this scope 32 | if(!k)cout<<n*m<<endl; | ^~~~ answer.code:32:34: error: ‘endl’ was not declared in this scope 32 | if(!k)cout<<n*m<<endl; | ^~~~ answer.code:33:22: error: ‘cout’ was not declared in this scope 33 | else cout<<0<<endl; | ^~~~ answer.code:33:31: error: ‘endl’ was not declared in this scope 33 | else cout<<0<<endl; | ^~~~ answer.code:36:16: error: ‘min’ was not declared in this scope 36 | y1=min(m,y1+1); | ^~~ answer.code:41:5: error: ‘memset’ was not declared in this scope 41 | memset(f,0,sizeof f); | ^~~~~~ answer.code:1:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? +++ |+#include <cstring> 1 | void solve(){ answer.code:60:5: error: ‘cout’ was not declared in this scope 60 | cout<<ans<<endl; | ^~~~ answer.code:60:16: error: ‘endl’ was not declared in this scope 60 | cout<<ans<<endl; | ^~~~