結果
| 問題 | No.1114 足し算盆に返らず |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-07-17 21:41:12 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 174 bytes |
| 記録 | |
| コンパイル時間 | 964 ms |
| コンパイル使用メモリ | 180,732 KB |
| 実行使用メモリ | 7,976 KB |
| 最終ジャッジ日時 | 2026-05-23 15:44:25 |
| 合計ジャッジ時間 | 19,582 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 26 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:6:5: warning: 'N' is used uninitialized [-Wuninitialized]
6 | if(N==1){
| ^~
main.cpp:5:9: note: 'N' was declared here
5 | int N;
| ^
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int N;
if(N==1){
cout<<1<<endl;
}
else{
int U=N/2;
cout<<U<<endl;
}
}