結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
A63295
|
| 提出日時 | 2015-12-17 21:06:11 |
| 言語 | C90 (gcc 12.4.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 123 bytes |
| 記録 | |
| コンパイル時間 | 133 ms |
| コンパイル使用メモリ | 28,996 KB |
| 最終ジャッジ日時 | 2026-02-23 20:08:46 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 WA * 6 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:4:1: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
4 | scanf("%d%d",&a,&b);
| ^~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
int main(void){
int a,b,c;
scanf("%d%d",&a,&b);
c = b / a + 0.999999999;
printf("%d",c);
return 0;
}
A63295