結果
問題 | No.892 タピオカ |
ユーザー |
|
提出日時 | 2019-09-27 21:28:11 |
言語 | C++11 (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 247 bytes |
コンパイル時間 | 431 ms |
コンパイル使用メモリ | 56,304 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-24 20:47:00 |
合計ジャッジ時間 | 957 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 3 WA * 3 |
ソースコード
#include <iostream> #include <algorithm> #include <string> using namespace std; int main(){ int key=0,A,B; for(int i=0;i<3;i++){ cin >> A >> B; key += A^B; } if(key%2==0)cout << ":-)" << endl; else cout << ":-(" << endl; }