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_39427661_2474.cpp: In function 'void Prime::sieve(int, int)':
0_0_39427661_2474.cpp:41:17: error: 'len' was not declared in this scope; did you mean 'dlen'?
   41 |                 len = R - L + 1;
      |                 ^~~
      |                 dlen
0_0_39427661_2474.cpp: In function 'void Prime::phi(ll, int, int)':
0_0_39427661_2474.cpp:98:25: error: 'Q' was not declared in this scope
   98 |                         Q.emplace_back(make_pair(n, a), sign); return;
      |                         ^
0_0_39427661_2474.cpp: In function 'Prime::ll Prime::count(ll)':
0_0_39427661_2474.cpp:118:22: error: 'Q' was not declared in this scope
  118 |                 sort(Q.begin(), Q.end());
      |                      ^


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-12-05 10:25:10, Gzip enabled