結果
| 問題 |
No.3140 Weird Parentheses Game
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-05-16 21:37:34 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 178 bytes |
| コンパイル時間 | 2,844 ms |
| コンパイル使用メモリ | 273,836 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2025-05-16 21:37:46 |
| 合計ジャッジ時間 | 3,711 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 21 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:8:8: warning: ‘n’ is used uninitialized [-Wuninitialized]
8 | if (n%2==1) {
| ~^~
main.cpp:6:7: note: ‘n’ was declared here
6 | int n;
| ^
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll=long long;
int main() {
int n;
if (n%2==1) {
cout<<"First";
}
else {
cout<<"Second";
}
return 0;
}