Submission #00195


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <bits/stdc++.h>
#define fin << "\n"
#define lol long long int
#define nintendo switch
#define usort(a) sort(a.begin() , a.end())
#define dsort(a) sort(a.rbegin() , a.rend())
#define space << " " <<
#define push_pair(a , b) push_back(make_pair(a , b))
#define check cout << 1 fin;
#define fixout(a) cout << fixed << setprecision(a)
#define bs(a , b) binary_search(a.begin() , a.end() , b)
#define ub(a , b) upper_bound(a.begin() , a.end() , b)
#define lb(a , b) lower_bound(a.begin() , a.end() , b)
#define Iter(type) type::iterator
using namespace std;
int main(void){
ios::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
cout << n - 2002 fin;
return(0);
}

ステータス

項目 データ
問題 0001 - 20周年
ユーザー名 Koba_gochiusa
投稿日時 2023-08-28 11:33:07
言語 C++17
状態 Accepted
得点 10
ソースコード長 716 Byte
最大実行時間 25 ms
最大メモリ使用量 476 KB

セット

セット 得点 Cases
1 ALL 10 / 10 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1 AC 23 ms 476 KB
1
in2 AC 19 ms 432 KB
1
in3 AC 25 ms 388 KB
1
in4 AC 17 ms 476 KB
1
in5 AC 25 ms 428 KB
1
in6 AC 24 ms 388 KB
1
in7 AC 20 ms 472 KB
1