QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#167064#7102. Live Loveucup-team1716WA 2ms3716kbC++20328b2023-09-07 00:57:302023-09-07 00:57:30

Judging History

你现在查看的是最新测评结果

  • [2023-09-07 00:57:30]
  • 评测
  • 测评结果:WA
  • 用时:2ms
  • 内存:3716kb
  • [2023-09-07 00:57:30]
  • 提交

answer

#include <bits/stdc++.h>
#define ll long long
#define pb push_back

using namespace std;

int main()
{
    ios_base::sync_with_stdio(false);
	cin.tie(nullptr);
	cout.tie(nullptr);

    int t = 1;
    cin >> t;
    while(t-->0)
    {
        int n, m;

        cout << m << " " << n/(n-m+1) << "\n";
    }
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 3716kb

input:

5
5 4
100 50
252 52
3 0
10 10

output:

0 0
0 0
0 0
0 0
0 0

result:

wrong answer 1st lines differ - expected: '4 2', found: '0 0'