結果
問題 | No.892 タピオカ |
ユーザー |
![]() |
提出日時 | 2020-06-02 20:22:36 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 308 bytes |
コンパイル時間 | 584 ms |
コンパイル使用メモリ | 77,748 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-24 11:28:33 |
合計ジャッジ時間 | 1,095 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include <iostream> #include <string> #include <algorithm> #include <vector> #include <math.h> #include <iomanip> using namespace std; int main(){ int a,b,c,d,e,f; cin >> a >> b >> c >> d >> e >> f; int ans=a+c+e; if(ans%2==0){ cout << ":-)" << endl; }else{ cout << ":-(" << endl; } return 0; }