結果
| 問題 |
No.1003 サイコロの実装 (1)
|
| コンテスト | |
| ユーザー |
nsy_fuya
|
| 提出日時 | 2020-03-10 21:40:43 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 299 bytes |
| コンパイル時間 | 617 ms |
| コンパイル使用メモリ | 69,744 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-15 23:41:18 |
| 合計ジャッジ時間 | 1,457 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 25 |
ソースコード
#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)ans="Yes";
else ans="No";
cout << ans << endl;
}
int main(int argc, char *argv[]) {
solve();
return 0;
}
nsy_fuya