結果
問題 |
No.427 テレビ
|
ユーザー |
|
提出日時 | 2025-09-23 10:56:44 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 354 bytes |
コンパイル時間 | 2,545 ms |
コンパイル使用メモリ | 275,160 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-09-23 10:56:56 |
合計ジャッジ時間 | 3,027 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
#include <bits/stdc++.h> [[nodiscard]] static inline constexpr const char* solve(const uint_fast32_t H, const uint_fast32_t W) noexcept { if (H > W) return "TATE"; else return "YOKO"; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); uint_fast32_t H, W; std::cin >> H >> W; std::cout << solve(H, W) << '\n'; return 0; }