結果
問題 | No.2671 NUPC Decompressor |
ユーザー |
|
提出日時 | 2024-03-22 10:42:06 |
言語 | Fortran (gFortran 14.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 1,020 bytes |
コンパイル時間 | 464 ms |
コンパイル使用メモリ | 30,720 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-09-30 10:32:48 |
合計ジャッジ時間 | 1,400 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
program yukicoder_2671 use, intrinsic :: iso_fortran_env implicit none integer(int32) :: k read(input_unit, *) k select case(k) case(1); write(output_unit, '(a)') "NNUNNUPC" case(2); write(output_unit, '(a)') "NNUNNUPCNNUNNUPC" case(3); write(output_unit, '(a)') "NNUNNUPNNUNNUPC" case(4); write(output_unit, '(a)') "NNUNNUPNNUNNUPCNNUNNUPNNUNNUPC" case(5); write(output_unit, '(a)') "NNUPC" case(6); write(output_unit, '(a)') "NNUPCNNUPC" case(7); write(output_unit, '(a)') "NNUPNNUPC" case(8); write(output_unit, '(a)') "NNUPNNUPCNNUPNNUPC" case(9); write(output_unit, '(a)') "NUNUPC" case(10); write(output_unit, '(a)') "NUNUPCNUNUPC" case(11); write(output_unit, '(a)') "NUNUPNUNUPC" case(12); write(output_unit, '(a)') "NUNUPNUNUPCNUNUPNUNUPC" case(13); write(output_unit, '(a)') "NUPC" case(14); write(output_unit, '(a)') "NUPCNUPC" case(15); write(output_unit, '(a)') "NUPNUPC" case(16); write(output_unit, '(a)') "NUPNUPCNUPNUPC" end select end program yukicoder_2671