結果

問題 No.3259 C++ → Rust → Python
ユーザー かみのさちほ
提出日時 2025-09-06 23:19:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 291 bytes
コンパイル時間 564 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2025-09-06 23:19:22
合計ジャッジ時間 2,590 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

L,R = map(int, input().split())
start=""
end=""
if L<=295:
	start="C"
elif L<=416:
	start="Rust"
else:
	start="Python"

if R<=295:
	end="C"
elif R<=416:
	end="Rust"
else:
	end="Python"

language=["C","Rust","Python"]

startl=language.index(start)
endl=language.index(end)

print(endl-startl)
0