From c5044d9c6bd642bb8352d0def4232c32305232e1 Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Wed, 7 Dec 2016 18:49:37 +0800 Subject: [PATCH] Create 1904.cpp --- QUSTOJ/1904.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 QUSTOJ/1904.cpp diff --git a/QUSTOJ/1904.cpp b/QUSTOJ/1904.cpp new file mode 100644 index 0000000..af8193c --- /dev/null +++ b/QUSTOJ/1904.cpp @@ -0,0 +1,24 @@ +#include +#include + +using namespace std; +struct +{ + string a,b,c,d; +}p[5]; +int main() +{ + for(int i=0;i<5;i++) + { + cin>>p[i].a>>p[i].b>>p[i].c>>p[i].d; + } + int n; + cin>>n; + --n; + cin>>p[n].a>>p[n].b>>p[n].c>>p[n].d; + for(int i=0;i<5;i++) + { + cout<<"name:"<