QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#165471 | #7102. Live Love | ikunsome | Compile Error | / | / | C++23 | 328b | 2023-09-05 18:30:24 | 2023-09-05 18:30:25 |
Judging History
answer
#include <iostream>#include <iostream>
using namespace std;
int main() {
int t;cin>>t;
while(t--){
int n,m;cin>>n>>m;
cout<<(m,n/(n-m+1))<<'\n';
}
}
using namespace std;
int main() {
int t;cin>>t;
while(t--){
int n,m;cin>>n>>m;
cout<<(m,n/(n-m+1));
}
}
詳細信息
answer.code:1:20: warning: extra tokens at end of #include directive 1 | #include <iostream>#include <iostream> | ^ answer.code:12:5: error: redefinition of ‘int main()’ 12 | int main() { | ^~~~ answer.code:3:5: note: ‘int main()’ previously defined here 3 | int main() { | ^~~~