結果
| 問題 |
No.892 タピオカ
|
| コンテスト | |
| ユーザー |
hys0290
|
| 提出日時 | 2020-03-10 19:45:57 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 270 bytes |
| コンパイル時間 | 1,552 ms |
| コンパイル使用メモリ | 167,668 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-15 23:33:48 |
| 合計ジャッジ時間 | 2,040 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
int a[3];
int f[3];
int ans = 0;
double b,c,d;
for(int i=0;i<3;i++){
cin >> a[i] >> f[i];
ans +=a[i];
}
if(ans%2==0){
cout << ":-)"<<endl;
}else{
cout << ":-("<<endl;
}
return 0;
}
hys0290