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_38740482_29630.cpp: In function 'void Solution::Input()':
0_0_38740482_29630.cpp:47:23: error: 'ein' was not declared in this scope; did you mean 'IO::ein'?
   47 | inline void Input() { ein >> n; for (int i = 1, u, v; i <= n; ++i) { ein >> u >> v, G[v].push_back(array<int, 2> {u, i << 1}); if (u != v) G[u].push_back(array<int, 2> {v, i << 1 | 1}); } }
      |                       ^~~
      |                       IO::ein
0_0_38740482_29630.cpp:22:3: note: 'IO::ein' declared here
   22 | } ein(stdin);
      |   ^~~
0_0_38740482_29630.cpp: In function 'void Solution::work()':
0_0_38740482_29630.cpp:64:56: error: 'eout' was not declared in this scope; did you mean 'IO::eout'?
   64 |                 if (cyc.size () >= (unsigned)2) return eout << "-1 -1\n", void ();
      |                                                        ^~~~
      |                                                        IO::eout
0_0_38740482_29630.cpp:35:3: note: 'IO::eout' declared here
   35 | } eout(stdout);
      |   ^~~~
0_0_38740482_29630.cpp:68:9: error: 'eout' was not declared in this scope; did you mean 'IO::eout'?
   68 |         eout << ans1 << ' ' << ans2 % mod << endl;
      |         ^~~~
      |         IO::eout
0_0_38740482_29630.cpp:35:3: note: 'IO::eout' declared here
   35 | } eout(stdout);
      |   ^~~~
0_0_38740482_29630.cpp: In function 'void Solution::solve()':
0_0_38740482_29630.cpp:70:77: error: expected unqualified-id before 'nullptr'
   70 | inline void solve () { ios_base::sync_with_stdio(0), cin.tie(nullptr), cout.nullptr(nullptr); Init(), Input(), work(); }
      |                                                                             ^~~~~~~
0_0_38740482_29630.cpp: In function 'int main()':
0_0_38740482_29630.cpp:74:24: error: 'ein' was not declared in this scope; did you mean 'IO::ein'?
   74 | signed main() { int T; ein >> T; while (T--) Solution::solve(); }
      |                        ^~~
      |                        IO::ein
0_0_38740482_29630.cpp:22:3: note: 'IO::ein' declared here
   22 | } ein(stdin);
      |   ^~~


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 04:50:39, Gzip enabled