結果
| 問題 | No.1217 せしすせそ |
| コンテスト | |
| ユーザー |
nononaga
|
| 提出日時 | 2020-09-07 22:14:00 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 88 ms / 2,000 ms |
| コード長 | 232 bytes |
| 記録 | |
| コンパイル時間 | 406 ms |
| コンパイル使用メモリ | 7,296 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-11-29 11:23:37 |
| 合計ジャッジ時間 | 2,338 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
コンパイルメッセージ
Syntax OK
ソースコード
orginalString = "abcdefghijklmnopqrstuvwxyz"
replaceString = gets.chomp
26.times do |index|
str1 = orginalString[index]
str2 = replaceString[index]
if str1 != str2
puts str1 + "to" + str2
exit
end
end
nononaga