結果
| 問題 | No.388 階段 (1) |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-03 10:36:48 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 217 bytes |
| 記録 | |
| コンパイル時間 | 146 ms |
| コンパイル使用メモリ | 24,320 KB |
| 実行使用メモリ | 8,608 KB |
| 最終ジャッジ日時 | 2025-03-03 10:36:55 |
| 合計ジャッジ時間 | 1,085 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 10 RE * 2 |
ソースコード
#include <stdio.h>
void main(void){
int s = 0 , f = 0;
int input = scanf("%d %d",&s,&f);
if(input == 2){
printf("入力エラー\n");
}
int ans = 1 + f/s;
if(f%s != 0){
ans += 1 ;
}
printf("%d",ans);
}
Maeda