PAT(Basic Level)_1041_考试座位号
来源:互联网 发布:mysql deleted表 编辑:程序博客网 时间:2024/06/06 04:11
#include<stdio.h>#include<string.h>struct Stu{ char id[15]; int b;}list[1001];int main(){ int n,m,a,b; char str[15]; scanf("%d",&n); for(int i=0;i<n;i++){ scanf("%s %d %d",str,&a,&b); list[a].b=b; strcpy(list[a].id,str); } scanf("%d",&m); while(m--){ scanf("%d",&a); printf("%s %d\n",list[a].id,list[a].b); } return 0;}
阅读全文
0 0
- PAT(Basic Level)_1041_考试座位号
- PAT (Basic Level)1041. 考试座位号
- PAT(basic level) 1041 考试座位号(15)
- PAT BASIC LEVEL 1041. 考试座位号(15)
- PAT (Basic Level) Practise (中文)1041. 考试座位号(15) C语言
- PAT (Basic Level) Practise (中文)1041. 考试座位号(15)
- PAT (Basic Level) Practise (中文) 1041. 考试座位号(15)
- PAT (Basic Level) Practise (中文)1041. 考试座位号(15)
- pat-考试座位号
- PAT-1041 考试座位号
- PAT 1041. 考试座位号
- 1041,考试座位号,PAT
- PAT 1041考试座位号
- PAT B1041. 考试座位号
- PAT 1041 考试座位号
- PAT Basic 1041. 考试座位号(15)(C语言实现)
- 【PAT】1041. 考试座位号(15)
- PAT-B 1041. 考试座位号
- Eigen中欧拉角,旋转向量,旋转矩阵,四元数的转换
- 数组
- python练习题 21-30
- SpringBoot (一) :入门篇
- Spring Security学习笔记错误信息提示(三)
- PAT(Basic Level)_1041_考试座位号
- 【干货】requests的使用方法
- [Unity]构造函数与单例模式
- oracle报错提示原因及解决
- Leetcode 315. Count of Smaller Numbers After Self
- hdu2022 海选女主角(C语言)
- 新创业团队没有什么激情,咋办?
- Spring学习记录
- 【干货】xpath语法学习记录