UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#168357#1255. 计算年龄luojianwei22161001ms1200kbC++131b2023-01-30 21:25:582023-01-30 21:25:58

answer

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

int main() {
	int n;
	cin >> n;
	cout << n - 2 << ' ' << n + 3;
	return 0;
}

详细

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

Test #1:

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

input:

5

output:

3 8

result:

ok single line: '3 8'

Test #2:

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

input:

7

output:

5 10

result:

ok single line: '5 10'

Test #3:

score: 33
Accepted
time: 0ms
memory: 1200kb

input:

10

output:

8 13

result:

ok single line: '8 13'