結果
問題 |
No.1114 足し算盆に返らず
|
ユーザー |
|
提出日時 | 2020-07-17 21:41:12 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 174 bytes |
コンパイル時間 | 1,722 ms |
コンパイル使用メモリ | 164,660 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-29 22:43:22 |
合計ジャッジ時間 | 15,236 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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; } }