QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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);
}
Details
Tip: Click on the bar to expand more detailed information
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'