結果

問題 No.893 お客様を誘導せよ
ユーザー yassansannyassansann
提出日時 2019-09-27 21:49:13
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
RE  
実行時間 -
コード長 320 bytes
コンパイル時間 2,015 ms
コンパイル使用メモリ 201,104 KB
実行使用メモリ 40,280 KB
最終ジャッジ日時 2023-10-24 17:49:15
合計ジャッジ時間 4,350 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,716 KB
testcase_01 AC 3 ms
5,712 KB
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 AC 2 ms
4,348 KB
testcase_08 RE -
testcase_09 RE -
testcase_10 AC 2 ms
4,348 KB
testcase_11 RE -
testcase_12 RE -
権限があれば一括ダウンロードができます

ソースコード

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