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_17372119_15809.cpp:28:1: error: 'map' does not name a type
 map<LL,LL> mp;
 ^
0_0_17372119_15809.cpp: In function 'LL M(LL)':
0_0_17372119_15809.cpp:31:5: error: 'map' was not declared in this scope
     map<LL,LL>::iterator it = mp.find(n);
     ^
0_0_17372119_15809.cpp:31:11: error: expected primary-expression before ',' token
     map<LL,LL>::iterator it = mp.find(n);
           ^
0_0_17372119_15809.cpp:31:14: error: expected primary-expression before '>' token
     map<LL,LL>::iterator it = mp.find(n);
              ^
0_0_17372119_15809.cpp:31:26: error: missing template arguments before 'it'
     map<LL,LL>::iterator it = mp.find(n);
                          ^
0_0_17372119_15809.cpp:32:8: error: 'it' was not declared in this scope
     if(it!=mp.end())    return it->second;
        ^
0_0_17372119_15809.cpp:32:12: error: 'mp' was not declared in this scope
     if(it!=mp.end())    return it->second;
            ^
0_0_17372119_15809.cpp:38:5: error: 'mp' was not declared in this scope
     mp.insert(pair<LL,LL>(n,r));
     ^
0_0_17372119_15809.cpp: In function 'int main()':
0_0_17372119_15809.cpp:72:20: error: expected ')' before 'lld'
         scanf("%d" lld,&d,&k);
                    ^


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-23 04:39:17, Gzip enabled