結果
| 問題 |
No.388 階段 (1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-11-09 14:01:54 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 97 bytes |
| コンパイル時間 | 114 ms |
| コンパイル使用メモリ | 19,840 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-25 05:41:32 |
| 合計ジャッジ時間 | 1,034 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 10 RE * 2 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:4:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
4 | scanf("%d%d",&s,&f);
| ^~~~~~~~~~~~~~~~~~~
ソースコード
#include<stdio.h>
int main(){
int s,f;
scanf("%d%d",&s,&f);
printf("%d",(f+1)/s);
return 0;
}