結果
問題 | No.63 ポッキーゲーム |
ユーザー |
![]() |
提出日時 | 2015-07-26 22:59:30 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 144 ms / 5,000 ms |
コード長 | 304 bytes |
コンパイル時間 | 3,621 ms |
コンパイル使用メモリ | 74,508 KB |
実行使用メモリ | 41,452 KB |
最終ジャッジ日時 | 2024-12-24 04:52:50 |
合計ジャッジ時間 | 7,588 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
import java.util.Scanner; public class No63 { public void run(){ Scanner sc = new Scanner(System.in); int L = sc.nextInt(); int K = sc.nextInt(); System.out.println((L-1)/(2*K)*K); } public static void main(String[] args) { // TODO Auto-generated method stub new No63().run(); } }