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_21511331_30074.cpp:7:5: error: 'LL' does not name a type
     LL w;
     ^
0_0_21511331_30074.cpp:10:1: error: 'LL' does not name a type
 LL val[2], ans;
 ^
0_0_21511331_30074.cpp: In function 'void add(int, int, int)':
0_0_21511331_30074.cpp:14:12: error: 'struct Edge' has no member named 'w'
     E[tot].w = w;
            ^
0_0_21511331_30074.cpp: In function 'void dfs(int, int)':
0_0_21511331_30074.cpp:25:10: error: 'val' was not declared in this scope
         (val[idx] *= E[i].w) %= mod;
          ^
0_0_21511331_30074.cpp:25:27: error: 'struct Edge' has no member named 'w'
         (val[idx] *= E[i].w) %= mod;
                           ^
0_0_21511331_30074.cpp: In function 'int main()':
0_0_21511331_30074.cpp:45:9: error: 'LL' was not declared in this scope
         LL ans = 1;
         ^
0_0_21511331_30074.cpp:56:18: error: 'ans' was not declared in this scope
                 (ans *= E[i].w) %= mod;
                  ^
0_0_21511331_30074.cpp:56:30: error: 'struct Edge' has no member named 'w'
                 (ans *= E[i].w) %= mod;
                              ^
0_0_21511331_30074.cpp:66:13: error: 'val' was not declared in this scope
             val[0] = val[1] = 1;
             ^
0_0_21511331_30074.cpp:68:14: error: 'ans' was not declared in this scope
             (ans *= (val[0] + val[1]) % mod) %= mod;
              ^
0_0_21511331_30074.cpp:70:26: error: 'ans' was not declared in this scope
         printf("%lld\n", ans);
                          ^


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-23 11:27:39, Gzip enabled