教练(有误)
This commit is contained in:
parent
e1f8beba1b
commit
3c1416eaff
3
4067_coach/Readme.md
Normal file
3
4067_coach/Readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
# 标题
|
||||
|
||||
* 内容
|
19
4067_coach/coach.cpp
Normal file
19
4067_coach/coach.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
int main(){
|
||||
int k,n,a[11][21]={0};
|
||||
cin>>k>>n;
|
||||
for(int i=1;i<=k;i++){
|
||||
for(int j=1;j<=n;j++){
|
||||
int u;
|
||||
cin>>u;
|
||||
a[i][u]=j;
|
||||
}
|
||||
}
|
||||
bool c[21][21];
|
||||
for(int i=1;i<=k;i++){
|
||||
for(int j=i+1;j<=n;j++){
|
||||
if(a[i][j])
|
||||
}
|
||||
}
|
||||
}
|
BIN
4067_coach/coach.exe
Normal file
BIN
4067_coach/coach.exe
Normal file
Binary file not shown.
3
4067_coach/doc/Readme.md
Normal file
3
4067_coach/doc/Readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
# 标题
|
||||
|
||||
* 内容
|
BIN
4067_coach/doc/教练.pdf
Normal file
BIN
4067_coach/doc/教练.pdf
Normal file
Binary file not shown.
6
4067_coach/main.cpp
Normal file
6
4067_coach/main.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << "Hello Easy C++ project!" << std::endl;
|
||||
}
|
BIN
4067_coach/main.exe
Normal file
BIN
4067_coach/main.exe
Normal file
Binary file not shown.
4
4067_coach/test/In0 (7).txt
Normal file
4
4067_coach/test/In0 (7).txt
Normal file
@ -0,0 +1,4 @@
|
||||
3 4
|
||||
4 1 2 3
|
||||
4 1 3 2
|
||||
4 2 1 3
|
2
4067_coach/test/In1 (12).txt
Normal file
2
4067_coach/test/In1 (12).txt
Normal file
@ -0,0 +1,2 @@
|
||||
1 20
|
||||
17 6 5 12 7 11 14 15 18 16 20 4 13 9 10 3 8 2 19 1
|
3
4067_coach/test/In2 (4).txt
Normal file
3
4067_coach/test/In2 (4).txt
Normal file
@ -0,0 +1,3 @@
|
||||
2 20
|
||||
11 16 4 17 12 18 6 3 19 14 1 8 13 9 2 20 5 15 10 7
|
||||
4 20 18 17 14 11 19 3 10 16 6 8 13 9 2 12 5 7 1 15
|
0
4067_coach/test/in.txt
Normal file
0
4067_coach/test/in.txt
Normal file
24
4067_coach/test/out.txt
Normal file
24
4067_coach/test/out.txt
Normal file
@ -0,0 +1,24 @@
|
||||
## z:\Chao\src\4067_coach\test\in.txt
|
||||
2020/03/29 ÖÜÈÕ 9:34:29.67
|
||||
|
||||
-----------------------------------------------
|
||||
Process exited after 190 ms with return value -1073741819
|
||||
|
||||
## z:\Chao\src\4067_coach\test\In0 (7).txt
|
||||
2020/03/29 ÖÜÈÕ 9:34:29.67
|
||||
4
|
||||
-----------------------------------------------
|
||||
Process exited after 90 ms with return value 0
|
||||
|
||||
## z:\Chao\src\4067_coach\test\In1 (12).txt
|
||||
2020/03/29 ÖÜÈÕ 9:34:29.67
|
||||
190
|
||||
-----------------------------------------------
|
||||
Process exited after 90 ms with return value 0
|
||||
|
||||
## z:\Chao\src\4067_coach\test\In2 (4).txt
|
||||
2020/03/29 ÖÜÈÕ 9:34:29.67
|
||||
152
|
||||
-----------------------------------------------
|
||||
Process exited after 90 ms with return value 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user