結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-08-07 08:33:07 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 104 bytes |
| コンパイル時間 | 162 ms |
| コンパイル使用メモリ | 29,824 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-17 12:26:17 |
| 合計ジャッジ時間 | 2,035 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 10 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:5:26: warning: 'b' is used uninitialized [-Wuninitialized]
5 | printf("%d\n",(b + a - 1) / a);
| ~~^~~
main.cpp:4:11: note: 'b' was declared here
4 | int a,b;
| ^
main.cpp:5:26: warning: 'a' is used uninitialized [-Wuninitialized]
5 | printf("%d\n",(b + a - 1) / a);
| ~~^~~
main.cpp:4:9: note: 'a' was declared here
4 | int a,b;
| ^
ソースコード
#include <stdio.h>
int main(void){
int a,b;
printf("%d\n",(b + a - 1) / a);
return 0;
}