QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#219432#5574. Julienne the DeckBallmer Peak (Ali Safari, AmirMohammad Shahrezaei, Alireza Keshavarz)#WA 0ms3620kbC++20174b2023-10-19 14:37:162023-10-19 14:37:16

Judging History

This is the latest submission verdict.

  • [2023-10-19 14:37:16]
  • Judged
  • Verdict: WA
  • Time: 0ms
  • Memory: 3620kb
  • [2023-10-19 14:37:16]
  • Submitted

answer

#include <bits/stdc++.h>


using namespace std;


const int Mod = 998244353;

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

	cout << (n <= 2 ? n : n + n) % Mod << '\n';

	return 0;
}

詳細信息

Test #1:

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

input:

1

output:

1

result:

ok 1 number(s): "1"

Test #2:

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

input:

1000000000000

output:

516560941

result:

ok 1 number(s): "516560941"

Test #3:

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

input:

3

output:

6

result:

ok 1 number(s): "6"

Test #4:

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

input:

4

output:

8

result:

ok 1 number(s): "8"

Test #5:

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

input:

2

output:

2

result:

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