結果
問題 |
No.63 ポッキーゲーム
|
ユーザー |
![]() |
提出日時 | 2015-07-26 22:54:04 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 304 bytes |
コンパイル時間 | 2,925 ms |
コンパイル使用メモリ | 73,836 KB |
実行使用メモリ | 55,460 KB |
最終ジャッジ日時 | 2024-07-16 00:19:28 |
合計ジャッジ時間 | 6,389 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 7 WA * 15 |
ソースコード
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(); } }