結果
問題 |
No.2819 Binary Binary-Operator
|
ユーザー |
![]() |
提出日時 | 2024-07-26 22:25:13 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 713 bytes |
コンパイル時間 | 291 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 28,008 KB |
平均クエリ数 | 3.00 |
最終ジャッジ日時 | 2024-07-26 22:25:20 |
合計ジャッジ時間 | 7,329 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 48 WA * 16 |
ソースコード
X,Y=map(int,input().split()) if X==0 and Y==0: print(3,flush=True) print(0,0,0,flush=True) t=int(input()) if t==0: print(0,flush=True) else: print(1,flush=True) if X==1 and Y==1: print(3,flush=True) print(1,1,1,flush=True) t=int(input()) if t==1: print(1,flush=True) else: print(0,flush=True) if X==0 and Y==1: print(3,flush=True) print(0,1,1,flush=True) t=int(input()) if t==0: print(0,flush=True) else: print(1,flush=True) if X==1 and Y==0: print(3,flush=True) print(1,0,0,flush=True) t=int(input()) if t==1: print(1,flush=True) else: print(0,flush=True)