結果
| 問題 | No.969 じゃんけん |
| コンテスト | |
| ユーザー |
marinebox
|
| 提出日時 | 2020-11-23 00:10:04 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 253 bytes |
| 記録 | |
| コンパイル時間 | 1,624 ms |
| コンパイル使用メモリ | 181,044 KB |
| 実行使用メモリ | 7,972 KB |
| 最終ジャッジ日時 | 2026-04-03 15:16:08 |
| 合計ジャッジ時間 | 1,529 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 4 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
int x;
cin >> x;
const string yes = "Yes";
const string no = "No";
string ans = no;
if(x == 0 || x == 4 || x == 10) ans = yes;
cout << ans << endl;
return 0;
}
marinebox