結果

問題 No.893 お客様を誘導せよ
ユーザー yassansann
提出日時 2019-09-27 21:44:21
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
RE  
実行時間 -
コード長 320 bytes
コンパイル時間 1,336 ms
コンパイル使用メモリ 158,812 KB
実行使用メモリ 40,272 KB
最終ジャッジ日時 2024-09-24 10:07:25
合計ジャッジ時間 3,608 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 2 RE * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int PA[100][100000]={};

int main(){
	int N,p;
	cin >> N;
	for(int i=0;i<N;i++){
		cin >> p;
		for(int j=0;j<p;j++){
			cin >> PA[i][j];
		}
	}
	for(int j=0;j<100000;j++){
		for(int i=0;i<N;i++){
			if(PA[i][j]!=0){
				cout << " " << PA[i][j];
			}
		}
	}
	cout << endl;
}
0