UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#169876#1699. 小C加班luojianwei22161001ms1196kbC++157b2023-03-11 17:25:512023-03-11 17:25:52

answer

#include <bits/stdc++.h>
using namespace std;

int main() {
	int a, b;
	cin >> a >> b;
	if(a < b) cout << a - 20;
	else cout << b - 20;
	return 0;
}

Details

小提示:点击横条可展开更详细的信息

Test #1:

score: 20
Accepted
time: 0ms
memory: 1196kb

input:

24 24

output:

4

result:

ok single line: '4'

Test #2:

score: 20
Accepted
time: 1ms
memory: 1196kb

input:

21 24

output:

1

result:

ok single line: '1'

Test #3:

score: 20
Accepted
time: 0ms
memory: 1196kb

input:

23 24

output:

3

result:

ok single line: '3'

Test #4:

score: 20
Accepted
time: 0ms
memory: 1196kb

input:

20 20

output:

0

result:

ok single line: '0'

Test #5:

score: 20
Accepted
time: 0ms
memory: 1196kb

input:

24 20

output:

0

result:

ok single line: '0'