結果
問題 |
No.388 階段 (1)
|
ユーザー |
|
提出日時 | 2016-08-06 15:00:57 |
言語 | C90 (gcc 12.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 123 bytes |
コンパイル時間 | 268 ms |
コンパイル使用メモリ | 19,712 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-07 03:18:23 |
合計ジャッジ時間 | 885 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 2 WA * 10 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:4:3: 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); int a = S % F; printf("%d",a+1); return 0; }