結果
| 問題 | No.63 ポッキーゲーム |
| コンテスト | |
| ユーザー |
yasosigu
|
| 提出日時 | 2015-05-07 03:25:22 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 106 bytes |
| 記録 | |
| コンパイル時間 | 151 ms |
| コンパイル使用メモリ | 28,456 KB |
| 最終ジャッジ日時 | 2026-02-23 18:20:24 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 22 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:5:1: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
5 | scanf("%d %d" ,&L,&K);
| ^~~~~~~~~~~~~~~~~~~~~
ソースコード
#include<stdio.h>
int main()
{
int L,K;
scanf("%d %d" ,&L,&K);
printf("%d",L/(2*K)+L%(2*K));
return 0;
}
yasosigu