結果
| 問題 |
No.128 お年玉(1)
|
| コンテスト | |
| ユーザー |
🐧しゅんチャマ🌸
|
| 提出日時 | 2023-09-13 23:35:10 |
| 言語 | Java (openjdk 23) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 427 bytes |
| コンパイル時間 | 2,201 ms |
| コンパイル使用メモリ | 74,108 KB |
| 実行使用メモリ | 54,452 KB |
| 最終ジャッジ日時 | 2024-07-01 07:40:05 |
| 合計ジャッジ時間 | 6,518 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 RE * 16 |
ソースコード
import java.util.Scanner;
class Y128{
public static void main(String args[]){
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
int m=sc.nextInt();
int num=0;
for(int i=0;i<1000000000;i++){
if(1000*i*m>n){
num=i-1;
break;
}else{
num++;
}
}
System.out.println(1000*num);
}
}
🐧しゅんチャマ🌸