結果
問題 | No.892 タピオカ |
ユーザー |
|
提出日時 | 2019-09-28 00:18:43 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 1,000 ms |
コード長 | 321 bytes |
コンパイル時間 | 2,277 ms |
コンパイル使用メモリ | 190,856 KB |
最終ジャッジ日時 | 2025-01-07 19:41:26 |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#define _USE_MATH_DEFINES #include <bits/stdc++.h> using namespace std; signed main() { ios::sync_with_stdio(false); cin.tie(0); int res = 0; for (int i = 0; i < 3; i++) { int a, b; cin >> a >> b; res += a % 2; } if (res % 2) { cout << ":-(\n"; } else { cout << ":-)\n"; } return 0; }