結果
問題 | No.892 タピオカ |
ユーザー |
![]() |
提出日時 | 2019-11-22 23:34:49 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 268 bytes |
コンパイル時間 | 481 ms |
コンパイル使用メモリ | 66,296 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-11 06:26:44 |
合計ジャッジ時間 | 965 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#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 + c + e; string ans = ":-("; if ( g % 2 == 0 ) ans = ":-)"; cout << ans << endl; return 0; }