QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#337947#5574. Julienne the Deckucup-team1198#WA 1ms3664kbC++20598b2024-02-25 16:18:582024-02-25 16:18:59

Judging History

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

  • [2024-02-25 16:18:59]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3664kb
  • [2024-02-25 16:18:58]
  • 提交

answer

#include <map>
#include <set>
#include <array>
#include <cmath>
#include <deque>
#include <bitset>
#include <random>
#include <string>
#include <vector>
#include <cassert>
#include <complex>
#include <iomanip>
#include <iostream>
#include <algorithm>
#include <unordered_map>
#include <unordered_set>

using namespace std;


int main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);

    long long n;
    cin >> n;

    if (n == 1) {
        cout << 1 << '\n';
        return 0;
    }

    cout << 2 * n % 998244353 << '\n';

    return 0;
}

详细

Test #1:

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

input:

1

output:

1

result:

ok 1 number(s): "1"

Test #2:

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

input:

1000000000000

output:

516560941

result:

ok 1 number(s): "516560941"

Test #3:

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

input:

3

output:

6

result:

ok 1 number(s): "6"

Test #4:

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

input:

4

output:

8

result:

ok 1 number(s): "8"

Test #5:

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

input:

2

output:

4

result:

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