結果
| 問題 |
No.1801 Segment Game
|
| コンテスト | |
| ユーザー |
ぷら
|
| 提出日時 | 2022-01-07 22:19:54 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 379 bytes |
| コンパイル時間 | 2,217 ms |
| コンパイル使用メモリ | 192,268 KB |
| 最終ジャッジ日時 | 2025-01-27 09:35:08 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 8 WA * 2 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
while (t--) {
long long h,w,d;
cin >> h >> w >> d;
if(max(h,w) == 1 && d == 1) {
cout << "S" << endl;
}
else if(min(h,w) <= d) {
cout << "N" << endl;
}
else {
cout << "S" << endl;
}
}
}
ぷら