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_39484310_31101.cpp: In function 'void dfs(int, ull)':
0_0_39484310_31101.cpp:20:17: error: request for member 'sum' in 'ans', which is of non-class type 'ull' {aka 'long long unsigned int'}
   20 |     ans=max(ans.sum);
      |                 ^~~
0_0_39484310_31101.cpp:22:12: error: 'st' was not declared in this scope; did you mean 'std'?
   22 |         if(st[i]){
      |            ^~
      |            std
0_0_39484310_31101.cpp:25:9: error: 'st' was not declared in this scope; did you mean 'std'?
   25 |         st[i]=1;
      |         ^~
      |         std
0_0_39484310_31101.cpp: In function 'void solve()':
0_0_39484310_31101.cpp:50:5: error: 'st' was not declared in this scope; did you mean 'std'?
   50 |     st[1]=1;
      |     ^~
      |     std
0_0_39484310_31101.cpp:51:5: error: 'dfa' was not declared in this scope; did you mean 'dfs'?
   51 |     dfa(1,fz[1]);
      |     ^~~
      |     dfs
0_0_39484310_31101.cpp:53:33: error: expected primary-expression before '<' token
   53 |     cout<<ans/gcd<<"/"<<mu/gcd<<<endl;
      |                                 ^


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-14 12:48:30, Gzip enabled