結果
| 問題 | No.175 simpleDNA |
| コンテスト | |
| ユーザー |
Kura
|
| 提出日時 | 2019-07-13 20:59:16 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 104 bytes |
| 記録 | |
| コンパイル時間 | 946 ms |
| コンパイル使用メモリ | 173,476 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-16 15:12:41 |
| 合計ジャッジ時間 | 1,708 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 6 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:5:20: warning: 'l' is used uninitialized [-Wuninitialized]
5 | cout<<n*((int)pow(2,l-3))<<endl;
| ~~~^~~~~~~
main.cpp:4:7: note: 'l' was declared here
4 | int l,n;
| ^
main.cpp:5:27: warning: 'n' is used uninitialized [-Wuninitialized]
5 | cout<<n*((int)pow(2,l-3))<<endl;
| ^
main.cpp:4:9: note: 'n' was declared here
4 | int l,n;
| ^
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
int l,n;
cout<<n*((int)pow(2,l-3))<<endl;
}
Kura