結果
| 問題 |
No.1257 変わった平均値
|
| コンテスト | |
| ユーザー |
yuusanlondon
|
| 提出日時 | 2020-10-16 21:29:17 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 312 bytes |
| コンパイル時間 | 259 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2024-07-20 21:10:44 |
| 合計ジャッジ時間 | 1,891 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 WA * 2 |
ソースコード
a=list(map(int,input().split()))
d=list(map(int,input().split()))
s=sorted(a)
k=sorted(d)
flag=0
for i in range(3):
if s[i]!=k[i]:
flag=1
if flag==1:
print('No')
else:
flag=0
for i in range(3):
if a[i]!=k[i]:
flag=1
if flag==1:
print('Yes')
print(2)
else:
print('Yes')
yuusanlondon