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_32278445_32472.cpp: In function 'void dfs(int, int, int)':
0_0_32278445_32472.cpp:2:17: error: 'cnt' was not declared in this scope
     if (step >= cnt + 1) {
                 ^
0_0_32278445_32472.cpp:3:9: error: 'ans' was not declared in this scope
         ans = (ans + fun(n % mod, now - 1) * euler(n / now) % mod) % mod;
         ^
0_0_32278445_32472.cpp:3:30: error: 'mod' was not declared in this scope
         ans = (ans + fun(n % mod, now - 1) * euler(n / now) % mod) % mod;
                              ^
0_0_32278445_32472.cpp:3:42: error: 'fun' was not declared in this scope
         ans = (ans + fun(n % mod, now - 1) * euler(n / now) % mod) % mod;
                                          ^
0_0_32278445_32472.cpp:3:59: error: 'euler' was not declared in this scope
         ans = (ans + fun(n % mod, now - 1) * euler(n / now) % mod) % mod;
                                                           ^
0_0_32278445_32472.cpp:6:33: error: 'c' was not declared in this scope
     for (int i = 0, t = 1; i <= c[step]; t *= p[step], i++)
                                 ^
0_0_32278445_32472.cpp:6:47: error: 'p' was not declared in this scope
     for (int i = 0, t = 1; i <= c[step]; t *= p[step], i++)
                                               ^


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-30 17:38:15, Gzip enabled