結果

問題 No.8017 エスパー
ユーザー startcpp
提出日時 2016-07-24 10:59:46
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 138 bytes
コンパイル時間 597 ms
コンパイル使用メモリ 53,592 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-06 15:47:40
合計ジャッジ時間 1,219 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 20
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:8:13: warning: format ‘%f’ expects argument of type ‘double’, but argument 2 has type ‘int’ [-Wformat=]
    8 | printf("%.14f\n", s / 100);
      |         ~~~~^     ~~~~~~~
      |             |       |
      |             double  int
      |         %.14d

ソースコード

diff #

#include <iostream>
#include <cstdio>
using namespace std;

int main() {
int s, k;
cin >> s >> k;
printf("%.14f\n", s / 100);
return 0;
}
0