結果
問題 | No.2557 緑以下コンテスト |
ユーザー | shihaka |
提出日時 | 2023-12-02 14:31:37 |
言語 | C++17 (gcc 12.3.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 502 bytes |
コンパイル時間 | 3,509 ms |
コンパイル使用メモリ | 200,244 KB |
実行使用メモリ | 6,676 KB |
最終ジャッジ日時 | 2023-12-02 14:32:30 |
合計ジャッジ時間 | 3,086 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
6,676 KB |
testcase_01 | AC | 2 ms
6,676 KB |
testcase_02 | AC | 2 ms
6,676 KB |
testcase_03 | AC | 2 ms
6,676 KB |
testcase_04 | AC | 1 ms
6,676 KB |
testcase_05 | AC | 2 ms
6,676 KB |
testcase_06 | AC | 2 ms
6,676 KB |
testcase_07 | AC | 2 ms
6,676 KB |
testcase_08 | AC | 1 ms
6,676 KB |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i,n) for (int i = 0; i < (n); i++) template<typename T> inline bool chmax(T &a, T b) {return ((a < b) ? (a = b, true) : (false));} template<typename T> inline bool chmin(T &a, T b) {return ((a > b) ? (a = b, true) : (false));} typedef long long ll; typedef pair<ll,ll> P; int main() { int n; cin >> n; if(n < 1200) { cout << "green" << endl; } else { cout << "difficult" << endl; } return 0; }