結果
| 問題 |
No.1317 月曜日の朝、WAを出した
|
| コンテスト | |
| ユーザー |
a01sa01to
|
| 提出日時 | 2024-11-13 00:25:57 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 1,500 ms |
| コード長 | 893 bytes |
| コンパイル時間 | 2,906 ms |
| コンパイル使用メモリ | 245,896 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-13 00:26:01 |
| 合計ジャッジ時間 | 4,057 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#include "settings/debug.cpp"
#else
#define Debug(...) void(0)
#endif
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using ull = unsigned long long;
int main() {
int t;
cin >> t;
while (t--) {
int a, w, t, m, o, r;
cin >> a >> w >> t >> m >> o >> r;
int b, x, u, n, p, s;
cin >> b >> x >> u >> n >> p >> s;
string c;
cin >> c;
bool flg = true;
if (c == "WA") {
if (w || u || n || p || s) flg = false;
}
if (c == "TLE") {
if (x || t || n || p || s) flg = false;
}
if (c == "MLE") {
if (x || u || m || p || s) flg = false;
}
if (c == "OLE") {
if (x || u || n || o || s) flg = false;
}
if (c == "RE") {
if (x || u || n || p || r) flg = false;
}
cout << (flg ? "Yes" : "No") << endl;
}
return 0;
}
a01sa01to