結果
問題 |
No.8058 M + D Problem
|
ユーザー |
![]() |
提出日時 | 2020-04-01 22:21:35 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 174 bytes |
コンパイル時間 | 1,421 ms |
コンパイル使用メモリ | 163,856 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-27 11:26:16 |
合計ジャッジ時間 | 2,627 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 14 |
コンパイルメッセージ
main.cpp: In function 'int main()': main.cpp:7:21: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized] 7 | if (a == 12 && b == 25)cout << 1; | ~~~~~~~~^~~~~~~~~~ main.cpp:5:16: note: 'b' was declared here 5 | int a, b; | ^
ソースコード
#include <bits/stdc++.h> using namespace std; constexpr int mod = 1000000007; int main() { int a, b; cin >> a, b; if (a == 12 && b == 25)cout << 1; else cout << a + b; }