結果
問題 |
No.388 階段 (1)
|
ユーザー |
|
提出日時 | 2016-12-26 01:48:53 |
言語 | C90 (gcc 12.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 101 bytes |
コンパイル時間 | 192 ms |
コンパイル使用メモリ | 19,968 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-14 19:09:52 |
合計ジャッジ時間 | 1,045 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | WA * 10 RE * 2 |
コンパイルメッセージ
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",&s,&f); | ^~~~~~~~~~~~~~~~~~~~
ソースコード
#include<stdio.h> int main(){ int s,f; scanf("%d %d",&s,&f); printf("%d\n",(f+s)/s); return 0; }