結果
| 問題 | 
                            No.1317 月曜日の朝、WAを出した
                             | 
                    
| コンテスト | |
| ユーザー | 
                             Wizist
                         | 
                    
| 提出日時 | 2020-12-17 03:30:55 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 437 bytes | 
| コンパイル時間 | 229 ms | 
| コンパイル使用メモリ | 82,356 KB | 
| 実行使用メモリ | 77,600 KB | 
| 最終ジャッジ日時 | 2024-09-20 06:06:58 | 
| 合計ジャッジ時間 | 1,260 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 1 WA * 3 | 
ソースコード
#!/usr/bin/env python3
#
# No.1317 月曜日の朝、WAを出した
#
import sys, os, math
def read_ints(): return list(map(int, input().split()))
m = dict((x, i) for i, x in enumerate('AC WA TLE MLE OLE RE'.split()))
T = int(input())
for _ in range(T):
	a = read_ints()
	b = read_ints()
	x = input()
	ans = True
	if sum(a) != sum(b):
		ans = False
	else:
		if b[m[x]] - a[m[x]] <= 0:
			ans = False
	print("Yes" if ans else "No")
            
            
            
        
            
Wizist