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_36742680_15613.cpp: In function 'void dfs(int, long long int, int, int)':
0_0_36742680_15613.cpp:13:3: error: 're' was not declared in this scope
   re int q=vis[1],w=vis[2],e=vis[3];
   ^
0_0_36742680_15613.cpp:4:12: error: expected ';' before 'long'
 #define ll long long
            ^
0_0_36742680_15613.cpp:14:6: note: in expansion of macro 'll'
   re ll lx=x;
      ^
0_0_36742680_15613.cpp:15:6: error: 'q' was not declared in this scope
   fk(q,w,e),ans=mn(ans,x%mod),x=lx;
      ^
0_0_36742680_15613.cpp:10:23: note: in definition of macro 'fk'
 #define fk(q,w,e) x=o[q]?(x*a[q]%mod):(x+a[q]),x=o[w]?(x*a[w]%mod):(x+a[w]),x=o[e]?(x*a[e]%mod):(x+a[e])
                       ^
0_0_36742680_15613.cpp:15:8: error: 'w' was not declared in this scope
   fk(q,w,e),ans=mn(ans,x%mod),x=lx;
        ^
0_0_36742680_15613.cpp:10:52: note: in definition of macro 'fk'
 #define fk(q,w,e) x=o[q]?(x*a[q]%mod):(x+a[q]),x=o[w]?(x*a[w]%mod):(x+a[w]),x=o[e]?(x*a[e]%mod):(x+a[e])
                                                    ^
0_0_36742680_15613.cpp:15:10: error: 'e' was not declared in this scope
   fk(q,w,e),ans=mn(ans,x%mod),x=lx;
          ^
0_0_36742680_15613.cpp:10:81: note: in definition of macro 'fk'
 #define fk(q,w,e) x=o[q]?(x*a[q]%mod):(x+a[q]),x=o[w]?(x*a[w]%mod):(x+a[w]),x=o[e]?(x*a[e]%mod):(x+a[e])
                                                                                 ^
0_0_36742680_15613.cpp:15:33: error: 'lx' was not declared in this scope
   fk(q,w,e),ans=mn(ans,x%mod),x=lx;
                                 ^
0_0_36742680_15613.cpp:23:6: error: 're' was not declared in this scope
  for(re int tp=1;tp<=vis[0];tp++){
      ^
0_0_36742680_15613.cpp:23:18: error: 'tp' was not declared in this scope
  for(re int tp=1;tp<=vis[0];tp++){
                  ^
0_0_36742680_15613.cpp:24:6: error: expected ';' before 'int'
   re int i=vis[tp];
      ^
0_0_36742680_15613.cpp:25:9: error: 'i' was not declared in this scope
   if((o[i]!=op||(o[i]==op&&a[i]<=ok))){
         ^


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-22 22:29:22, Gzip enabled