QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#165470#7102. Live LoveikunsomeWA 1ms3720kbC++23161b2023-09-05 18:30:102023-09-05 18:30:10

Judging History

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

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

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

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
5 4
100 50
252 52
3 0
10 10

output:

211010

result:

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