結果

問題 No.83 最大マッチング
ユーザー jj
提出日時 2016-07-30 17:40:54
言語 Fortran
(gFortran 14.2.0)
結果
WA  
実行時間 -
コード長 247 bytes
コンパイル時間 150 ms
コンパイル使用メモリ 32,384 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-06 21:20:11
合計ジャッジ時間 744 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

  integer::N
  read *,N
  if(N.eq.2) then
     print '(a)','1'
  else if(N.eq.3) then
     print '(a)','7'
  else if(MOD(N,2).eq.0) then
     print '(a)', (/REPEAT('1',N/2)/)
  else
     print '(2a)', (/'7',REPEAT('1',N/2-1)/)
  end if
end program
0