結果
問題 | No.2314 Backflip |
ユーザー |
|
提出日時 | 2023-10-09 15:48:16 |
言語 | Fortran (gFortran 14.2.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 304 bytes |
コンパイル時間 | 1,814 ms |
コンパイル使用メモリ | 29,568 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-26 18:34:10 |
合計ジャッジ時間 | 1,153 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 8 |
ソースコード
program yukicoder_2314 use, intrinsic :: iso_fortran_env implicit none integer(int32) :: n character(len=8) :: s read(input_unit, *) s n = len_trim(s) if (s(n:n) == "0") then s(n:n) = "1" else s(n:n) = "0" end if write(output_unit, '(a)') trim(s) end program yukicoder_2314