QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#322537 | #7102. Live Love | PhanDinhKhoi | WA | 0ms | 3732kb | C++17 | 277b | 2024-02-07 10:01:59 | 2024-02-07 10:02:01 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t; cin >> t;
while (t--) {
int n, m; cin >> n >> m;
cout << n << ' ' << n / (n - m + 1) << '\n';
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3732kb
input:
5 5 4 100 50 252 52 3 0 10 10
output:
5 2 100 1 252 1 3 0 10 10
result:
wrong answer 1st lines differ - expected: '4 2', found: '5 2'