F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_19230901_16211.cpp: In function 'int main()':
0_0_19230901_16211.cpp:33:1348: error: expected primary-expression before '.' token
 int geted;    while (scanf("%d%d", &n, &m) != EOF)    {        t_map.clear();        t_now.clear();        for (i=0; i < n; i++)        {            scanf("%s", name);            scanf("%d", &k);            t_map[name] = S2M;            it_t = t_map.find(name);            for (j=0; j < k; j++)            {                scanf("%s", like);                it_t->second.insert(STRING2MAP::value_type(like, 1));            }            scanf("%d", &k);            for (j=0; j < k; j++)            {                scanf("%s", hate);                it_t->second.insert(STRING2MAP::value_type(hate, 2));            }        }        scanf("%d", &k);        for (j=0; j < k; j++)        {            scanf("%s", go);            t_now[go] = true;        }        for (i=0; i<m; i++)        {            p_add = 0;            p_remove = 0;            it_t=t_map.begin();            for (; it_t != t_map.end(); it_t++)            {                it_n=t_now.begin();                l=h=0;                for (; it_n != t_now.end(); it_n++)                {                    it_f = it_t->second.find(it_n->first);                    if (it_f != it_t->second.end())                    {                        geted = it_f->second;                        if (geted & 1) l++;                        if (geted & 1<<1) h++;                        if (l>0 &&.h>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-17 02:39:23, Gzip enabled