結果

問題 No.2737 Compound Word
ユーザー mumumu
提出日時 2024-04-20 11:55:35
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 141 bytes
コンパイル時間 1,637 ms
コンパイル使用メモリ 166,032 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-12 07:14:05
合計ジャッジ時間 5,880 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 2
other RE * 27
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:6:13: warning: 'N' is used uninitialized [-Wuninitialized]
    6 |   string a[N];
      |             ^
main.cpp:5:7: note: 'N' declared here
    5 |   int N;
      |       ^

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
  int N;
  string a[N];
  cin>>N;
  for(int i =0;i<N;i++){
  	cin >> a[i];
  }
}
0