結果
| 問題 | No.1003 サイコロの実装 (1) |
| コンテスト | |
| ユーザー |
koari
|
| 提出日時 | 2020-03-06 21:47:34 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 335 bytes |
| 記録 | |
| コンパイル時間 | 860 ms |
| コンパイル使用メモリ | 178,436 KB |
| 実行使用メモリ | 10,052 KB |
| 最終ジャッジ日時 | 2026-09-16 06:27:39 |
| 合計ジャッジ時間 | 2,644 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 WA * 3 |
ソースコード
#include <bits/stdc++.h>
#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
using namespace std;
typedef long long ll;
int main(void){
cin.tie(0);
ios::sync_with_stdio(false);
int n;
cin >> n;
if(n<4){
cout << "Yes" << endl;
}else if(n%6==0){
cout << "Yes" << endl;
}else{
cout << "No" << endl;
}
return 0;
}
koari