結果

問題 No.1317 月曜日の朝、WAを出した
ユーザー 👑 NachiaNachia
提出日時 2020-12-14 00:04:50
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 441 bytes
コンパイル時間 2,082 ms
コンパイル使用メモリ 202,472 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-20 04:32:29
合計ジャッジ時間 2,663 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,348 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
using LL=long long;
using ULL=unsigned long long;
#define rep(i,n) for(int i=0; i<(n); i++)

string A[]={"AC","WA","TLE","MLE","OLE","RE"};

void loop(){
  int C[6][2]; rep(d,2) rep(i,6) cin>>C[i][d];
  string S; cin>>S;
  bool ok=true;
  for(int i=1; i<6; i++) if(A[i]!=S) if(C[i][1]!=0) ok=false;
  cout<<(ok?"Yes":"No")<<endl;
}

int main(){
  int T; cin>>T;
  while(T--) loop();
	return 0;
}
0