結果
| 問題 | No.224 文字列変更(easy) |
| コンテスト | |
| ユーザー |
Rin
|
| 提出日時 | 2015-08-27 16:18:29 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
AC
|
| 実行時間 | 25 ms / 5,000 ms |
| コード長 | 513 bytes |
| コンパイル時間 | 32 ms |
| コンパイル使用メモリ | 5,248 KB |
| 実行使用メモリ | 16,128 KB |
| 最終ジャッジ日時 | 2024-07-18 02:06:58 |
| 合計ジャッジ時間 | 1,538 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
(define (System.out.println x)
(begin
(display x)
(newline)
)
)
(let(
(Len (read))
(Before (symbol->string (read)))
(After (symbol->string (read)))
(CngCnt 0)
)
(begin
(let loop((i 0))
(begin
(unless (string=? (substring Before i (+ i 1)) (substring After i (+ i 1)))
(set! CngCnt (+ CngCnt 1))
)
(unless (= i (- Len 1))
(loop (+ i 1))
)
)
)
(System.out.println CngCnt)
)
)
Rin