結果
問題 | No.224 文字列変更(easy) |
ユーザー |
![]() |
提出日時 | 2022-09-05 23:22:40 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 189 bytes |
コンパイル時間 | 2,026 ms |
コンパイル使用メモリ | 215,704 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-22 16:12:35 |
合計ジャッジ時間 | 3,076 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
import std; void main() { int n; string S, T; readf("%d\n%s\n%s\n", n, S, T); int res; foreach (s, t; zip(S, T)) { if (s != t) ++res; } res.writeln; }