結果
問題 | No.892 タピオカ |
ユーザー |
![]() |
提出日時 | 2020-03-05 11:18:32 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 254 bytes |
コンパイル時間 | 1,375 ms |
コンパイル使用メモリ | 165,576 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-14 00:54:01 |
合計ジャッジ時間 | 1,901 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include <bits/stdc++.h> #define INF 990000000 //10 using namespace std; int main() { long long int ts=0; long long int s,t; for(int i=0;i<3;i++){ cin>>s>>t; if(s%2==0) ts+=0; else ts+=1; } if(ts%2==0) cout<< ":-)"<<endl; else cout<< ":-("<<endl; }