結果
| 問題 |
No.445 得点
|
| ユーザー |
aaaaa
|
| 提出日時 | 2016-12-23 13:18:54 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 181 bytes |
| コンパイル時間 | 489 ms |
| コンパイル使用メモリ | 54,356 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-14 15:24:03 |
| 合計ジャッジ時間 | 1,160 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 4 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:7:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
7 | scanf("%lf %lf",&a,&b);
| ~~~~~^~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
#include <iostream>
using namespace std;
int main(){
double a,b;
scanf("%lf %lf",&a,&b);
int f=50*a + (int)((50*a)/(0.8+0.2*b));
cout<<f<<endl;
return 0;
}
aaaaa