結果
| 問題 |
No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
|
| コンテスト | |
| ユーザー |
nariyel
|
| 提出日時 | 2021-06-11 21:29:35 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 2,000 ms |
| コード長 | 313 bytes |
| コンパイル時間 | 192 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-12-14 22:25:38 |
| 合計ジャッジ時間 | 2,244 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 35 |
ソースコード
import sys
S, T, c = sys.stdin.readline().rstrip().split()
S = int(S)
T = int(T)
if c == '<' and S < T:
print("YES")
elif c == '<' and S >= T:
print("NO")
elif c == '>' and S > T:
print("YES")
elif c == '>' and S <= T:
print("NO")
elif c == '=' and S == T:
print("YES")
else:
print("NO")
nariyel