QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#165472#7102. Live LoveikunsomeWA 1ms3584kbC++23167b2023-09-05 18:30:482023-09-05 18:30:49

Judging History

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

  • [2023-09-05 18:30:49]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3584kb
  • [2023-09-05 18:30:48]
  • 提交

answer

#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))<<endl;
    }
}

詳細信息

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3584kb

input:

5
5 4
100 50
252 52
3 0
10 10

output:

2
1
1
0
10

result:

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