結果
問題 | No.1119 Division 3 |
ユーザー |
|
提出日時 | 2020-07-22 21:20:56 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 1,000 ms |
コード長 | 514 bytes |
コンパイル時間 | 1,394 ms |
コンパイル使用メモリ | 105,656 KB |
最終ジャッジ日時 | 2025-01-12 02:02:27 |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> #include <map> #include <queue> #include <cstdio> #include <ctime> #include <assert.h> #include <chrono> #include <random> #include <numeric> #include <set> #include <deque> using namespace std; typedef long long int ll; typedef unsigned long long ull; signed main(){ cin.tie(nullptr); ios::sync_with_stdio(false); ll x,y,z; cin >> x >> y >> z; if(x%3&&y%3&&z%3){ printf("No\n"); } else{ printf("Yes\n"); } }