結果
| 問題 | No.8124 A+B |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-01 21:36:37 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 526 bytes |
| 記録 | |
| コンパイル時間 | 6,333 ms |
| コンパイル使用メモリ | 374,828 KB |
| 実行使用メモリ | 382,668 KB |
| 最終ジャッジ日時 | 2026-04-01 21:36:49 |
| 合計ジャッジ時間 | 11,014 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 6 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:21:17: warning: 'A' is used uninitialized [-Wuninitialized]
21 | cout << A + B;
| ^
main.cpp:20:8: note: 'A' was declared here
20 | ll A, B;
| ^
main.cpp:21:17: warning: 'B' is used uninitialized [-Wuninitialized]
21 | cout << A + B;
| ^
main.cpp:20:11: note: 'B' was declared here
20 | ll A, B;
| ^
ソースコード
#include <bits/stdc++.h>
using namespace std;
#include <atcoder/all>
using namespace atcoder;
typedef unsigned int uint;
typedef long long int ll;
typedef unsigned long long ull;
typedef long double ld;
#define loop while(1)
#define rep(i,n) for(ll i=0;(i)<(n);(i)++)
#define REP(i,a,n) for(ll i=(a);(i)<(n);(i)++)
#define modi(a,b) (a%b+b)%b
#define all(x) x.begin(), x.end()
#define debug(x) cerr << #x << " = " << x << endl
#define dout() cout << fixed << setprecision(20)
int main(){
ll A, B;
cout << A + B;
}