結果

問題 No.3259 C++ → Rust → Python
コンテスト
ユーザー かみのさちほ
提出日時 2025-09-06 23:19:19
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 62 ms / 2,000 ms
+ 497µs
コード長 291 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 236 ms
コンパイル使用メモリ 95,980 KB
実行使用メモリ 78,976 KB
最終ジャッジ日時 2026-07-14 21:49:35
合計ジャッジ時間 3,446 ms
ジャッジサーバーID
(参考情報)
judge1_1 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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