結果
問題 |
No.445 得点
|
ユーザー |
|
提出日時 | 2017-01-08 13:41:02 |
言語 | C90 (gcc 12.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 142 bytes |
コンパイル時間 | 731 ms |
コンパイル使用メモリ | 19,584 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-29 22:23:19 |
合計ジャッジ時間 | 915 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:5:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%d%d",&a,&b); | ^~~~~~~~~~~~~~~~~~~
ソースコード
#include<stdio.h> int main(void){ int a,b,r,t; scanf("%d%d",&a,&b); t = 500*a/(8+2*b); r = t; r+=(50*a); printf("%d\n",r); return 0; }