結果

問題 No.1003 サイコロの実装 (1)
ユーザー nsy_fuya
提出日時 2020-03-10 21:39:52
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 307 bytes
コンパイル時間 643 ms
コンパイル使用メモリ 70,384 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-15 23:41:17
合計ジャッジ時間 1,518 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
#include <algorithm>
#include <cmath>

using namespace std;
typedef long long llint;

llint n;
void solve(){
  string ans;
  cin >> n;
  if(n%6==0 || n<=6)ans="Yes";
  else ans="No";
  cout << ans << endl;
}

int main(int argc, char *argv[]) {
  solve();
  return 0;
}
0