結果

問題 No.388 階段 (1)
ユーザー plcherrimplcherrim
提出日時 2016-11-09 14:03:01
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 99 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 19,840 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-05-04 00:10:57
合計ジャッジ時間 1,076 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 0 ms
5,248 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 RE -
testcase_06 RE -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:4:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    4 |         scanf("%d%d",&s,&f);
      |         ^~~~~~~~~~~~~~~~~~~

ソースコード

diff #

#include<stdio.h>
int main(){
	int s,f;
	scanf("%d%d",&s,&f);
	printf("%d",(f+1)/s+1);
	return 0;
}
0