Language: C++

#include <bits/stdc++.h>

using namespace std;

int main(){

	int n;cin>>n;
	vector<vecotr<int>> play(n,vecotr<int>(n-1));
	for(int i = 0 ; i < n ; i++){
		for(int k = 0 ; k < n-1 ; k++){
			cin>>play.at(i).at(k);
		}
	}
	int ans =0;//とりあえず0にしておく
	/*	for(int i = 0 ; i < n ; i++){
		for(int k = 0 ; k < n-1 ; k++){
	
	cout<<play.at(i).at(k)<<endl;
		}
		}
		配列受け取れているか確認しただけ*/
		//選手の人数分の配列を用意して、０で埋めとく。一回試合するごとに１をプラスする。
		vector<int> count(n,0);
		//合計でn(n-1)/2試合行うわけだから、その回数だけforまわしとけば間違いない
		
		for(int d = 1 ; d < n*(n-1)/2+1 ;d++){
	//選手の人数分の配列分、その日に試合を行ったら0を1にする
	vector<int> do(n,0);
	for(int i = 0; i < n ; i ++ ){
	int a=p.at(0).at(do.at(0));
	if(a==p.at(a-1).at(0)&&do.at(0)==0&&do.at(a-i)=0){
		do.at(0)==1;do.at(a-1)==1;
	}
		//試合を行うことができる.選手番号1とa,すなわちベクトルの０番目とa-1のカウントを+1する
		
}
		}
}

	}




Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: 'vecotr' was not declared in this scope
    8 |         vector<vecotr<int>> play(n,vecotr<int>(n-1));
      |                ^~~~~~
a.cc:8:26: error: template argument 1 is invalid
    8 |         vector<vecotr<int>> play(n,vecotr<int>(n-1));
      |                          ^~
a.cc:8:26: error: template argument 2 is invalid
a.cc:8:43: error: expected primary-expression before 'int'
    8 |         vector<vecotr<int>> play(n,vecotr<int>(n-1));
      |                                           ^~~
a.cc:8:52: error: expression list treated as compound expression in initializer [-fpermissive]
    8 |         vector<vecotr<int>> play(n,vecotr<int>(n-1));
      |                                                    ^
a.cc:11:35: error: request for member 'at' in 'play', which is of non-class type 'int'
   11 |                         cin>>play.at(i).at(k);
      |                                   ^~
a.cc:28:21: error: expected unqualified-id before 'do'
   28 |         vector<int> do(n,0);
      |                     ^~
a.cc:30:15: error: 'p' was not declared in this scope
   30 |         int a=p.at(0).at(do.at(0));
      |               ^
a.cc:30:26: error: expected primary-expression before 'do'
   30 |         int a=p.at(0).at(do.at(0));
      |                          ^~
a.cc:31:32: error: expected primary-expression before 'do'
   31 |         if(a==p.at(a-1).at(0)&&do.at(0)==0&&do.at(a-i)=0){
      |                                ^~
a.cc:31:32: error: expected ')' before 'do'
   31 |         if(a==p.at(a-1).at(0)&&do.at(0)==0&&do.at(a-i)=0){
      |           ~                    ^~
      |                                )
a.cc:32:19: error: expected primary-expression before '.' token
   32 |                 do.at(0)==1;do.at(a-1)==1;
      |                   ^
a.cc:32:31: error: expected 'while' before '.' token
   32 |                 do.at(0)==1;do.at(a-1)==1;
      |                               ^
a.cc:32:31: error: expected '(' before '.' token
   32 |                 do.at(0)==1;do.at(a-1)==1;
      |                               ^
      |                               (
a.cc:32:31: error: expected primary-expression before '.' token
a.cc:32:42: error: expected ')' before ';' token
   32 |                 do.at(0)==1;do.at(a-1)==1;
      |                               ~          ^
      |                                          )
a.cc: At global scope:
a.cc:40:9: error: expected declaration before '}' token
   40 |         }
      |         ^