結果

問題 No.83 最大マッチング
ユーザー s0j1san
提出日時 2018-01-07 21:34:21
言語 Fortran
(gFortran 14.2.0)
結果
WA  
実行時間 -
コード長 224 bytes
コンパイル時間 2,043 ms
コンパイル使用メモリ 31,308 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-23 11:11:36
合計ジャッジ時間 2,750 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

program main
	implicit none
	integer i,j
	character*50001 a
	read(*,*)i
	if(mod(i,2)==0)then
		do j=1,i/2
			a(j:j)="1"
		enddo
	else
		a(1:1)="7"
		do j=2,i/2
			a(j:j)="1"
		enddo
	endif
	write(*,*)a(1:j)
end program main
0