結果

問題 No.169 何分かかるの!?
ユーザー nola_suz
提出日時 2015-05-21 21:27:08
言語 C90
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 174 bytes
コンパイル時間 65 ms
コンパイル使用メモリ 20,608 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-06 04:23:27
合計ジャッジ時間 699 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 21 WA * 1
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:5:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    5 |     scanf("%lf %lf",&a,&b);
      |     ^~~~~~~~~~~~~~~~~~~~~~

ソースコード

diff #

#include <stdio.h>
int main(){
    double a,b;
    int ans;
    scanf("%lf %lf",&a,&b);
    a=100.0-a;
    a=100.0/a;
    a*=b;
    ans=a;
    printf("%d\n",ans);
return 0;
}
0