結果
| 問題 | 
                            No.8001 確率論ってこういうものですよね
                             | 
                    
| コンテスト | |
| ユーザー | 
                             mudbdb
                         | 
                    
| 提出日時 | 2017-06-24 16:08:30 | 
| 言語 | C90  (gcc 12.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 127 bytes | 
| コンパイル時間 | 181 ms | 
| コンパイル使用メモリ | 20,864 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2024-10-04 02:48:58 | 
| 合計ジャッジ時間 | 795 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 4 WA * 6 | 
コンパイルメッセージ
main.c: In function ‘main’:
main.c:4:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    4 |   scanf("%lf %lf",&x,&y);
      |   ^~~~~~~~~~~~~~~~~~~~~~
            
            ソースコード
#include <stdio.h>
int main() {
  double x,y;
  scanf("%lf %lf",&x,&y);
  printf("%f %f\n",x*(1.0-y),x*(1.0-y));
  return 0;
}
            
            
            
        
            
mudbdb