QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#164166 | #4274. $2x + 2$ | raymond_7 | WA | 0ms | 1756kb | C++14 | 175b | 2023-09-04 20:28:02 | 2023-09-04 20:28:02 |
Judging History
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'