QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#485094#5574. Julienne the DeckUESTC_DECAYALI#WA 0ms3672kbC++14230b2024-07-20 12:31:342024-07-20 12:31:34

Judging History

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

  • [2024-07-20 12:31:34]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3672kb
  • [2024-07-20 12:31:34]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
#define int long long

signed main(){
	ios::sync_with_stdio(0); cin.tie(0);
	int n; cin >> n;
	if (n<=2) cout << n << '\n';
	else cout << n*2%998244353 << '\n';;
	return 0;	
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1

output:

1

result:

ok 1 number(s): "1"

Test #2:

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

input:

1000000000000

output:

516560941

result:

ok 1 number(s): "516560941"

Test #3:

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

input:

3

output:

6

result:

ok 1 number(s): "6"

Test #4:

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

input:

4

output:

8

result:

ok 1 number(s): "8"

Test #5:

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

input:

2

output:

2

result:

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