QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#396018#4274. $2x + 2$megz112233WA 1ms3632kbC++20380b2024-04-22 10:02:012024-04-22 10:02:01

Judging History

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

  • [2024-04-22 10:02:01]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3632kb
  • [2024-04-22 10:02:01]
  • 提交

answer

#include <bits/stdc++.h>

#define sz(x)  (int)x.size()
#define bigint __int128
#define el '\n'
#define ll long long
#define ld long double
using namespace std;
const int N = 3e5 + 4, M = 1e5 + 10, mod = 1e9 + 7;

void acc() {
    long long n;
    cin >> n;
    cout << (2 * n / 3) +1<< el;
}

int main() {
    int t = 1;
    //cin >> t;
    while (t--)acc();
}

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3632kb

input:

4

output:

3

result:

ok answer is '3'

Test #2:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

10000000000

output:

6666666667

result:

ok answer is '6666666667'

Test #3:

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

input:

11537

output:

7692

result:

ok answer is '7692'

Test #4:

score: 0
Accepted
time: 1ms
memory: 3596kb

input:

41309

output:

27540

result:

ok answer is '27540'

Test #5:

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

input:

8191927142339937565554845978095081242540169480073285738552305926582959325059543812213073905385467089

output:

1

result:

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