Submission #20363633


Source Code Expand

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repr(i, l, r) for (int i = l; i <= (int)(r); i++)
#define chmin(x, y) x = min(x, y)
#define chmax(x, y) x = max(x, y)
#define all(v) v.begin(), v.end()
#define MOD (int) (1e9+7)
#define INF (int) 1e9
#define LLINF (ll) 1e18

int main(){
    int n;
    cin >> n;
    cout << 100-n%100 << endl;
    // printf("%d\n", N);
    return 0;
}

Submission Info

Submission Time
Task A - Star
User pontsuyo
Language C++ (GCC 9.2.1)
Score 100
Code Size 508 Byte
Status AC
Exec Time 14 ms
Memory 3588 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 17
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_11.txt, random_12.txt, random_13.txt, random_14.txt, random_15.txt, random_16.txt, random_21.txt, random_22.txt, random_23.txt, random_24.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
random_01.txt AC 14 ms 3476 KiB
random_02.txt AC 2 ms 3404 KiB
random_03.txt AC 2 ms 3516 KiB
random_04.txt AC 3 ms 3516 KiB
random_05.txt AC 2 ms 3404 KiB
random_11.txt AC 2 ms 3400 KiB
random_12.txt AC 3 ms 3520 KiB
random_13.txt AC 2 ms 3500 KiB
random_14.txt AC 2 ms 3512 KiB
random_15.txt AC 3 ms 3400 KiB
random_16.txt AC 2 ms 3340 KiB
random_21.txt AC 2 ms 3408 KiB
random_22.txt AC 2 ms 3504 KiB
random_23.txt AC 8 ms 3588 KiB
random_24.txt AC 3 ms 3412 KiB
sample_01.txt AC 4 ms 3408 KiB
sample_02.txt AC 2 ms 3412 KiB