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_37009014_8477.cpp:12:1: error: 'map' does not name a type
 map<ll ,int > m,mpos;
 ^
0_0_37009014_8477.cpp: In function 'void init()':
0_0_37009014_8477.cpp:17:5: error: 'map' was not declared in this scope
     map<ll,int >::iterator itt;
     ^
0_0_37009014_8477.cpp:17:11: error: expected primary-expression before ',' token
     map<ll,int >::iterator itt;
           ^
0_0_37009014_8477.cpp:17:12: error: expected primary-expression before 'int'
     map<ll,int >::iterator itt;
            ^
0_0_37009014_8477.cpp:18:9: error: 'itt' was not declared in this scope
     for(itt=m.begin();itt!=m.end();itt++)
         ^
0_0_37009014_8477.cpp:18:13: error: 'm' was not declared in this scope
     for(itt=m.begin();itt!=m.end();itt++)
             ^
0_0_37009014_8477.cpp:22:5: error: 'm' was not declared in this scope
     m.clear();
     ^
0_0_37009014_8477.cpp:23:5: error: 'mpos' was not declared in this scope
     mpos.clear();
     ^
0_0_37009014_8477.cpp: In function 'int main()':
0_0_37009014_8477.cpp:41:16: error: 'mpos' was not declared in this scope
             if(mpos[sum[i]]==0)
                ^
0_0_37009014_8477.cpp:52:16: error: 'm' was not declared in this scope
             if(m[now]==0)
                ^
0_0_37009014_8477.cpp:56:15: error: 'm' was not declared in this scope
             s[m[now]].insert(sum[i]);
               ^
0_0_37009014_8477.cpp:71:20: error: 'mpos' was not declared in this scope
                 if(mpos[x]==0)
                    ^
0_0_37009014_8477.cpp:82:20: error: 'm' was not declared in this scope
             ll now=m[(x%tot+tot)%tot];//防止余数是负数的情况 这时候可能忽视了某种情况
                    ^
0_0_37009014_8477.cpp:101:39: error: 'mpos' was not declared in this scope
                     ans=(x-*it)/tot*n+mpos[*it];
                                       ^
0_0_37009014_8477.cpp:114:39: error: 'mpos' was not declared in this scope
                     ans=(x-*it)/tot*n+mpos[*it];
                                       ^


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-06-17 11:16:21, Gzip enabled