結果
| 問題 |
No.445 得点
|
| ユーザー |
aaaaa
|
| 提出日時 | 2016-12-23 13:15:05 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 174 bytes |
| コンパイル時間 | 608 ms |
| コンパイル使用メモリ | 55,656 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-14 15:23:59 |
| 合計ジャッジ時間 | 1,102 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / 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;
return 0;
}
aaaaa