DescriptionUncle Da is angry because some of his students didn't go for his class.So each student is required to sign in.Now Uncle Da has a table who was sign in last week,please help him to know who were not here last class.Input formatThe first lin

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 13:06:53

DescriptionUncle Da is angry because some of his students didn't go for his class.So each student is required to sign in.Now Uncle Da has a table who was sign in last week,please help him to know who were not here last class.Input formatThe first lin
Description
Uncle Da is angry because some of his students didn't go for his class.So each student is required to sign in.
Now Uncle Da has a table who was sign in last week,please help him to know who were not here last class.
Input format
The first line has one number n (n

DescriptionUncle Da is angry because some of his students didn't go for his class.So each student is required to sign in.Now Uncle Da has a table who was sign in last week,please help him to know who were not here last class.Input formatThe first lin
#include
int main()
{
int n, m;
char a[300][20];
bool b[300];
scanf("%d",&n);
for (int i = 0; i < n; i++) {
scanf("%s",&a[i]);
b[i] = 0;
}
char str[2000];
gets(str);
gets(str);
int i = 0;
while (i < 2000) {
int x = 0;
while (str[i] >= '0' && str[i]