結果

問題 No.388 階段 (1)
ユーザー あ
提出日時 2017-05-24 15:25:07
言語 C
(gcc 12.3.0)
結果
RE  
実行時間 -
コード長 94 bytes
コンパイル時間 128 ms
コンパイル使用メモリ 27,344 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-19 20:01:51
合計ジャッジ時間 2,753 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function 'main':
main.c:9:13: warning: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    9 | printf((S/F)+1);
      |        ~~~~~^~
      |             |
      |             int
In file included from main.c:1:
/usr/include/stdio.h:356:43: note: expected 'const char * restrict' but argument is of type 'int'
  356 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~

ソースコード

diff #

#include <stdio.h>

int main(){

int S,F;

scanf("%d",&S);
scanf("%d",&F);
printf((S/F)+1);

}
0