QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#165469#7102. Live LoveikunsomeWA 1ms3636kbC++23107b2023-09-05 18:29:392023-09-05 18:29:39

Judging History

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

  • [2023-09-05 18:29:39]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3636kb
  • [2023-09-05 18:29:39]
  • 提交

answer

#include <iostream>
using namespace std;
int main() {
    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: 3636kb

input:

5
5 4
100 50
252 52
3 0
10 10

output:

5

result:

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