QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#322537#7102. Live LovePhanDinhKhoiWA 0ms3732kbC++17277b2024-02-07 10:01:592024-02-07 10:02:01

Judging History

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

  • [2024-02-07 10:02:01]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3732kb
  • [2024-02-07 10:01:59]
  • 提交

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;
}

詳細信息

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'