結果
| 問題 |
No.1636 森
|
| コンテスト | |
| ユーザー |
vwxyz
|
| 提出日時 | 2021-08-07 15:20:52 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 96 bytes |
| コンパイル時間 | 1,932 ms |
| コンパイル使用メモリ | 190,968 KB |
| 最終ジャッジ日時 | 2025-01-23 16:40:36 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | WA * 20 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:6:11: warning: ‘N’ is used uninitialized [-Wuninitialized]
6 | cout<<(N-1)*(N-1)<<endl;
| ~~^~~
main.cpp:5:7: note: ‘N’ was declared here
5 | int N;
| ^
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
int N;
cout<<(N-1)*(N-1)<<endl;
}
vwxyz