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_20356751_512.cpp:12:9: error: 'll' was not declared in this scope
 map<int,ll>F;
         ^
0_0_20356751_512.cpp:12:11: error: template argument 2 is invalid
 map<int,ll>F;
           ^
0_0_20356751_512.cpp:12:11: error: template argument 4 is invalid
0_0_20356751_512.cpp:12:13: error: invalid type in declaration before ';' token
 map<int,ll>F;
             ^
0_0_20356751_512.cpp: In function 'long long int _sol(long long int)':
0_0_20356751_512.cpp:36:5: error: invalid types 'int[long long int]' for array subscript
  F[n] = x / n; 
     ^
0_0_20356751_512.cpp:38:16: error: invalid types 'int[const int]' for array subscript
   F[it -> first] = x / it -> first;
                ^
0_0_20356751_512.cpp:41:17: error: invalid types 'int[const int]' for array subscript
    F[it -> first] -= F[G[it -> first][i]];//cout<<F[it -> first]<<" ";
                 ^
0_0_20356751_512.cpp:41:41: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}]' for array subscript
    F[it -> first] -= F[G[it -> first][i]];//cout<<F[it -> first]<<" ";
                                         ^
0_0_20356751_512.cpp:44:22: error: invalid types 'int[const int]' for array subscript
  return F[it -> first];
                      ^
0_0_20356751_512.cpp: In function 'int main()':
0_0_20356751_512.cpp:50:16: error: request for member 'clear' in 'F', which is of non-class type 'int'
   G.clear(); F.clear();
                ^


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-07-01 17:10:17, Gzip enabled