結果
| 問題 |
No.1119 Division 3
|
| コンテスト | |
| ユーザー |
sorag
|
| 提出日時 | 2022-08-05 10:42:50 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 328 bytes |
| コンパイル時間 | 556 ms |
| コンパイル使用メモリ | 72,732 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-15 06:26:19 |
| 合計ジャッジ時間 | 1,377 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 WA * 8 |
ソースコード
#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<map>
#define all(x) x.begin(),x.end()
#define pb push_back
#define ll long long
using namespace std;
int main() {
ll a,b,c,d;
cin >> a>>b>>c;
d = a * b * c;
if (d % 3 == 0) cout << "Yes" << endl;
else cout << "No" << endl;
return 0;
}
sorag