QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#123684#6243. دیوارکشushg8877AC ✓1ms3656kbC++14195b2023-07-13 12:05:192023-07-13 12:05:21

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-07-13 12:05:21]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3656kb
  • [2023-07-13 12:05:19]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define MP make_pair
mt19937 rnd(time(0));
int main(){
	ios::sync_with_stdio(false);
	ll a,b;cin>>a>>b;
	cout<<a%b; 
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3404kb

input:

5 2

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 1ms
memory: 3656kb

input:

10 8

output:

2

result:

ok single line: '2'

Test #3:

score: 0
Accepted
time: 1ms
memory: 3504kb

input:

5391001 5066014

output:

324987

result:

ok single line: '324987'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3500kb

input:

5284038939967148 1347989907738960

output:

1240069216750268

result:

ok single line: '1240069216750268'

Test #5:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:

4278297628547089 3988901491261491

output:

289396137285598

result:

ok single line: '289396137285598'