結果
問題 | No.1119 Division 3 |
ユーザー |
![]() |
提出日時 | 2020-07-22 21:21:53 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 5 ms / 1,000 ms |
コード長 | 291 bytes |
コンパイル時間 | 3,381 ms |
コンパイル使用メモリ | 191,320 KB |
最終ジャッジ日時 | 2025-01-12 02:06:22 |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define modulo 1000000007 #define mod(mod_x) ((((long long)mod_x+modulo))%modulo) #define Inf 1000000000000000002 int main(){ int X,Y,Z; cin>>X>>Y>>Z; if(X%3==0||Y%3==0||Z%3==0)cout<<"Yes"<<endl; else cout<<"No"<<endl; return 0; }