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