結果

問題 No.1004 サイコロの実装 (2)
ユーザー tatt61880
提出日時 2020-04-23 23:58:59
言語 Kuin
(KuinC++ v.2021.9.17)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 233 bytes
コンパイル時間 1,889 ms
コンパイル使用メモリ 146,416 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-16 10:43:01
合計ジャッジ時間 3,082 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 38
権限があれば一括ダウンロードができます

ソースコード

diff #

func main()
	var a: int :: cui@inputInt()
	var b: int :: cui@inputInt()
	var x0: int :: cui@inputInt()
	var n: int :: cui@inputInt()
	if(x0 % 2 = 1)
		do cui@print("\{n / 2} 0\n")
	else
		do cui@print("0 \{n / 2}\n")
	end if
end func
0