結果
| 問題 | No.2776 Bigger image |
| コンテスト | |
| ユーザー |
👑 amentorimaru
|
| 提出日時 | 2024-05-27 23:26:42 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 23 ms / 2,000 ms |
| + 421µs | |
| コード長 | 414 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 14,848 KB |
| 実行使用メモリ | 11,136 KB |
| 最終ジャッジ日時 | 2026-10-07 09:47:42 |
| 合計ジャッジ時間 | 2,127 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 25 |
ソースコード
import sys
from fractions import Fraction
input = sys.stdin.readline
def read_values(): return tuple(map(int, input().split()))
def read_list(): return list(read_values())
def main():
a,b=read_values()
h,w=read_values()
if a == b or h == w:
print('Same')
elif (a < b) != (h < w):
print('Rotating')
else:
print('Non-rotating')
if __name__ == "__main__":
main()
amentorimaru