QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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));
}
}
Details
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() { | ^~~~