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_36179997_21223.cpp: In function 'int get_divisor(int)':
0_0_36179997_21223.cpp:9:2: error: 'map' was not declared in this scope
  map<int, int> primes;
  ^
0_0_36179997_21223.cpp:9:6: error: expected primary-expression before 'int'
  map<int, int> primes;
      ^
0_0_36179997_21223.cpp:12:4: error: 'primes' was not declared in this scope
    primes[i]++;
    ^
0_0_36179997_21223.cpp:16:13: error: 'primes' was not declared in this scope
  if (n > 1) primes[n]++;
             ^
0_0_36179997_21223.cpp:18:17: error: 'primes' was not declared in this scope
  for (auto &x : primes) {
                 ^
0_0_36179997_21223.cpp:21:10: error: 'm' was not declared in this scope
   while (m--) {
          ^


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-25 20:33:29, Gzip enabled