結果

問題 No.388 階段 (1)
ユーザー
提出日時 2017-05-24 15:25:07
言語 C
(gcc 13.3.0)
結果
RE  
実行時間 -
コード長 94 bytes
コンパイル時間 102 ms
コンパイル使用メモリ 27,264 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-19 16:09:53
合計ジャッジ時間 2,577 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 12
権限があれば一括ダウンロードができます
コンパイルメッセージ
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