結果
| 問題 |
No.1003 サイコロの実装 (1)
|
| コンテスト | |
| ユーザー |
AkabaEri
|
| 提出日時 | 2020-03-23 06:29:18 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 862 bytes |
| コンパイル時間 | 845 ms |
| コンパイル使用メモリ | 82,044 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-26 05:51:17 |
| 合計ジャッジ時間 | 1,906 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 25 |
ソースコード
#include <iostream> // cout, endl, cin
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <map> // map
#include <queue> // queue, priority_queue
#include <set> // set
#include <stack> // stack
#include <deque> // deque
#include <unordered_map> // unordered_map
#include <unordered_set> // unordered_set
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
using ll = long long int;
using namespace std;
ll mod = 1000000007;
using namespace std;
int main() {
long long int a;
cin >> a;
if (a % 6 == 0) { cout << "Yes" << endl; }
else { cout << "No" << endl; }
}
AkabaEri