結果
問題 | No.445 得点 |
ユーザー |
![]() |
提出日時 | 2016-11-24 09:12:30 |
言語 | C90 (gcc 12.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 162 bytes |
コンパイル時間 | 130 ms |
コンパイル使用メモリ | 20,864 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-27 10:31:35 |
合計ジャッジ時間 | 786 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 17 WA * 4 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:6:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | scanf("%d%d", &n, &k); | ^~~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> int main(void) { int n, k; int f; scanf("%d%d", &n, &k); f = 50 * n + (int)(50 * n / (0.8 + 0.2 * k)); printf("%d\n", f); return 0; }