結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
Q43qBmBGuo2VB0s
|
| 提出日時 | 2018-08-22 23:12:47 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 266 bytes |
| 記録 | |
| コンパイル時間 | 235 ms |
| コンパイル使用メモリ | 37,760 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-31 16:13:57 |
| 合計ジャッジ時間 | 1,085 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include "stdio.h"
int main(void){
int a= 0;
int b = 0;
int num = 0;
int numb = 0;
scanf("%d %d",&a,&b);
num = b % a;
if(num != 0){
numb = (b/a) + 1;
}else{
numb = b/a;
}
printf("%d\n",numb);
return 0;
}
Q43qBmBGuo2VB0s