結果
| 問題 |
No.1317 月曜日の朝、WAを出した
|
| コンテスト | |
| ユーザー |
Nachia
|
| 提出日時 | 2020-12-14 00:04:50 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 441 bytes |
| コンパイル時間 | 2,301 ms |
| コンパイル使用メモリ | 193,696 KB |
| 最終ジャッジ日時 | 2025-01-17 00:11:50 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 3 |
ソースコード
#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;
}
Nachia