Submission #00187
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | //#include<bits/stdc++.h> #include <iostream> #include <cstdio> #include <cstring> #include <string> #include <vector> #include <queue> #include <map> #include <algorithm> #include <utility> #include <climits> #define REP(i, n) for(int i = 0; i < n; ++i) #define FOR(i, a, b) for(int i = a; i < b; ++i) #define F first #define S second #define OUT(x) cout << x << "\n" using namespace std; using point = pair< int , int >; using ll = long long ; int main() { double a; cin >> a; if (a < 0) { OUT( "REIWA" ); } else if (a == 0) { OUT( "RE_WA" ); } else { OUT( "0WA" ); } return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0014 - 令和 |
ユーザー名 | Wonder /*ei1741*/ |
投稿日時 | 2019-05-27 18:13:32 |
言語 | C++14 |
状態 | Accepted |
得点 | 1 |
ソースコード長 | 664 Byte |
最大実行時間 | 27 ms |
最大メモリ使用量 | 704 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 1 / 1 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
in01 | AC | 18 ms | 604 KB |
1
|
in02 | AC | 24 ms | 704 KB |
1
|
in03 | AC | 27 ms | 552 KB |
1
|
in04 | AC | 21 ms | 396 KB |
1
|
in05 | AC | 21 ms | 500 KB |
1
|
in06 | AC | 24 ms | 468 KB |
1
|
in07 | AC | 17 ms | 568 KB |
1
|
in08 | AC | 21 ms | 664 KB |
1
|
in09 | AC | 21 ms | 636 KB |
1
|
in10 | AC | 18 ms | 608 KB |
1
|