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_37711045_8247.cpp: In function 'void euler(int)':
0_0_37711045_8247.cpp:16:5: error: 'np' was not declared in this scope
     np[1] = 1;
     ^
0_0_37711045_8247.cpp:17:9: error: 'll' was not declared in this scope
     for(ll i = 2; i <= n; ++i) {
         ^
0_0_37711045_8247.cpp:17:19: error: 'i' was not declared in this scope
     for(ll i = 2; i <= n; ++i) {
                   ^
0_0_37711045_8247.cpp:18:20: error: 'pr' was not declared in this scope
         if(!np[i]) pr[++nn] = i;
                    ^
0_0_37711045_8247.cpp:18:25: error: 'nn' was not declared in this scope
         if(!np[i]) pr[++nn] = i;
                         ^
0_0_37711045_8247.cpp:19:29: error: 'nn' was not declared in this scope
         for(int j = 1; j <= nn && i * pr[j] <= n; ++j) {
                             ^
0_0_37711045_8247.cpp:19:39: error: 'pr' was not declared in this scope
         for(int j = 1; j <= nn && i * pr[j] <= n; ++j) {
                                       ^


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-03 17:55:44, Gzip enabled