QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#164166#4274. $2x + 2$raymond_7WA 0ms1756kbC++14175b2023-09-04 20:28:022023-09-04 20:28:02

Judging History

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

  • [2023-09-04 20:28:02]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:1756kb
  • [2023-09-04 20:28:02]
  • 提交

answer

#include <cstdio>
#include <algorithm>

using namespace std;

const int N = 110;

long long n;

int main()
{
	scanf("%lld", &n);
	printf("%lld", n * 2 / 3 + 1);
}

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 1580kb

input:

4

output:

3

result:

ok answer is '3'

Test #2:

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

input:

10000000000

output:

6666666667

result:

ok answer is '6666666667'

Test #3:

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

input:

11537

output:

7692

result:

ok answer is '7692'

Test #4:

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

input:

41309

output:

27540

result:

ok answer is '27540'

Test #5:

score: -100
Wrong Answer
time: 0ms
memory: 1620kb

input:

8191927142339937565554845978095081242540169480073285738552305926582959325059543812213073905385467089

output:

1

result:

wrong answer expected '546128476155995837703656398539...9550039695874808715936923644727', found '1'