QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#142082#5574. Julienne the DeckPhantomThreshold#WA 1ms3460kbC++20248b2023-08-18 13:59:282023-08-18 13:59:29

Judging History

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

  • [2023-08-18 13:59:29]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3460kb
  • [2023-08-18 13:59:28]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
const int MOD=998244353;
int main()
{
	ios_base::sync_with_stdio(false);
	long long n;
	cin>>n;
	if(n==1)cout<<1<<endl;
	else if(n==2)cout<<2<<endl;
	else cout<<n*2%MOD<<endl;
	
	return 0;
}

详细

Test #1:

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

input:

1

output:

1

result:

ok 1 number(s): "1"

Test #2:

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

input:

1000000000000

output:

516560941

result:

ok 1 number(s): "516560941"

Test #3:

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

input:

3

output:

6

result:

ok 1 number(s): "6"

Test #4:

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

input:

4

output:

8

result:

ok 1 number(s): "8"

Test #5:

score: -100
Wrong Answer
time: 1ms
memory: 3420kb

input:

2

output:

2

result:

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