結果
| 問題 |
No.445 得点
|
| ユーザー |
mono1977
|
| 提出日時 | 2016-12-01 03:35:02 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 165 bytes |
| コンパイル時間 | 437 ms |
| コンパイル使用メモリ | 31,616 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-27 15:09:40 |
| 合計ジャッジ時間 | 1,255 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 4 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:6:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
6 | scanf("%d %d",&a,&b);
| ~~~~~^~~~~~~~~~~~~~~
ソースコード
#include<stdio.h>
#include<math.h>
int main(){
int a,b,f;
scanf("%d %d",&a,&b);
f=50*a+floor((double)a*50/(0.8+0.2*(double)b));
printf("%d\n",f);
return 0;
}
mono1977