結果
| 問題 | 
                            No.1317 月曜日の朝、WAを出した
                             | 
                    
| コンテスト | |
| ユーザー | 
                             hiragn
                         | 
                    
| 提出日時 | 2022-11-24 08:46:19 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 168 ms / 1,500 ms | 
| コード長 | 450 bytes | 
| コンパイル時間 | 91 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-09-25 08:52:19 | 
| 合計ジャッジ時間 | 1,235 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 4 | 
ソースコード
def main():
    n = int(input())
    for _ in range(n):
        result0 = list(map(int, input().split()))
        result1 = list(map(int, input().split()))
        x = input()
        
        i = ['AC', 'WA', 'TLE', 'MLE', 'OLE', 'RE'].index(x)
        if result0[i] == 0 and all(result1[j] == 0 for j in range(1, 6) if i != j):
            ans = "Yes"
        else:
            ans = "No"
        print(ans)
if __name__ == "__main__":
    main()
            
            
            
        
            
hiragn