結果
問題 | No.1003 サイコロの実装 (1) |
ユーザー |
![]() |
提出日時 | 2020-04-08 23:56:41 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 172 bytes |
コンパイル時間 | 1,362 ms |
コンパイル使用メモリ | 164,632 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-19 05:54:00 |
合計ジャッジ時間 | 2,131 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 24 WA * 1 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int n,x; cin >> n; x=n%6+1; if(n%x==0) cout << "Yes"; else cout << "No"; return 0; }