結果
| 問題 |
No.9001 標準入出力の練習問題(テスト用)
|
| ユーザー |
|
| 提出日時 | 2022-03-20 00:07:21 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 216 bytes |
| コンパイル時間 | 197 ms |
| コンパイル使用メモリ | 29,696 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-05 12:16:40 |
| 合計ジャッジ時間 | 1,155 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 2 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:8:8: warning: 'A' is used uninitialized [-Wuninitialized]
8 | N=A+B;
| ~^~
main.cpp:5:9: note: 'A' declared here
5 | int A,B,N;
| ^
main.cpp:8:8: warning: 'B' is used uninitialized [-Wuninitialized]
8 | N=A+B;
| ~^~
main.cpp:5:11: note: 'B' declared here
5 | int A,B,N;
| ^
ソースコード
#include <stdio.h>
int main(void)
{
int A,B,N;
char S;
N=A+B;
scanf("%d\n",&A);
scanf("%d\n",&B);
scanf("%s\n",&S);
printf("%d",N);
printf("%s",S);
return 0;
}