結果
| 問題 | 
                            No.893 お客様を誘導せよ
                             | 
                    
| コンテスト | |
| ユーザー | 
                             yassansann
                         | 
                    
| 提出日時 | 2019-09-27 21:51:26 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 313 bytes | 
| コンパイル時間 | 1,493 ms | 
| コンパイル使用メモリ | 157,948 KB | 
| 実行使用メモリ | 6,948 KB | 
| 最終ジャッジ日時 | 2024-09-24 10:19:37 | 
| 合計ジャッジ時間 | 2,066 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 2 WA * 8 RE * 1 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
int NP[1000][10]={};
int main(){
	int N,p;
	cin >> N;
	for(int i=0;i<N;i++){
		cin >> p;
		for(int j=0;j<p;j++){
			cin >> NP[i][j];
		}
	}
	for(int j=0;j<10;j++){
		for(int i=0;i<N;i++){
			if(NP[i][j]!=0){
				cout << " " << NP[i][j];
			}
		}
	}
	cout << endl;
}
            
            
            
        
            
yassansann