Submission #00078


ソースコード

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
/// {{{
#include "bits/stdc++.h"
#define ALL(x) x.begin(), x.end()
#define iostreamBooster() do{cin.tie(nullptr);ios::sync_with_stdio(false);}while(0)
#define rep(i, s, t) for(int i = int(s); i < int(t); ++i)
using namespace std;
typedef long long i64;
typedef pair<int,int> pii;
template<class A, class B>inline bool chmax(A &a, const B &b){return b>a ? a=b,1 : 0;}
template<class A, class B>inline bool chmin(A &a, const B &b){return b<a ? a=b,1 : 0;}
constexpr int INF = 0x3f3f3f3f;
constexpr i64 LINF = 0x3f3f3f3f3f3f3f3fLL;
// }}}
signed main()
{
double n; cin >> n;
if (n == 0) {
puts("RE_WA");
} else if (n > 0) {
puts("0WA");
} else {
puts("REIWA");
}
return 0;
}

ステータス

項目 データ
問題 0014 - 令和
ユーザー名 Arumakan_ei1727
投稿日時 2019-05-27 17:19:52
言語 C++14
状態 Accepted
得点 1
ソースコード長 743 Byte
最大実行時間 29 ms
最大メモリ使用量 604 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in01 AC 22 ms 604 KB
1
in02 AC 18 ms 448 KB
1
in03 AC 17 ms 548 KB
1
in04 AC 19 ms 512 KB
1
in05 AC 17 ms 488 KB
1
in06 AC 21 ms 460 KB
1
in07 AC 21 ms 564 KB
1
in08 AC 18 ms 536 KB
1
in09 AC 27 ms 508 KB
1
in10 AC 29 ms 480 KB
1