結果
| 問題 |
No.5 数字のブロック
|
| コンテスト | |
| ユーザー |
sasa
|
| 提出日時 | 2025-02-28 16:13:13 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 193 bytes |
| コンパイル時間 | 318 ms |
| コンパイル使用メモリ | 24,064 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2025-02-28 16:13:15 |
| 合計ジャッジ時間 | 1,805 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 34 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:5:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
5 | scanf("%d", &bigbox);
| ^~~~~~~~~~~~~~~~~~~~
main.c:8:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
8 | scanf("%d", &len);
| ^~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
int main(void){
// 大きい箱
int bigbox = 0;
scanf("%d", &bigbox);
printf("%d\n",bigbox);
int len = 0;
scanf("%d", &len);
printf("%d\n",len);
}
sasa