QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#142048#5574. Julienne the Deckammardab3an#WA 1ms3440kbC++20212b2023-08-18 12:18:192023-08-18 12:18:33

Judging History

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

  • [2023-08-18 12:18:33]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3440kb
  • [2023-08-18 12:18:19]
  • 提交

answer

#include <iostream>

using namespace std;

int main()
{
    int64_t n;
    cin >> n;

    if(n==1){
        cout << 1 << endl;
    }
    else{
        cout << (n*1ll*2)%998244353 << endl;
    }
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1

output:

1

result:

ok 1 number(s): "1"

Test #2:

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

input:

1000000000000

output:

516560941

result:

ok 1 number(s): "516560941"

Test #3:

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

input:

3

output:

6

result:

ok 1 number(s): "6"

Test #4:

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

input:

4

output:

8

result:

ok 1 number(s): "8"

Test #5:

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

input:

2

output:

4

result:

wrong answer 1st numbers differ - expected: '1', found: '4'