結果
問題 |
No.892 タピオカ
|
ユーザー |
![]() |
提出日時 | 2019-11-22 23:34:07 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 268 bytes |
コンパイル時間 | 746 ms |
コンパイル使用メモリ | 66,912 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-11 06:26:45 |
合計ジャッジ時間 | 1,016 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 4 WA * 2 |
ソースコード
#include <iostream> #include <algorithm> using namespace std; int main(){ long a, b, c, d, e ,f, g; cin >> a >> b >> c >> d >> e >> f; g = a + b + c; string ans = ":-("; if ( g % 2 == 0 ) ans = ":-)"; cout << ans << endl; return 0; }