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_38757571_5029.cpp:84:14: error: 'bool ModInt<mod>::operator>(const ModInt<mod>&)' cannot be overloaded with 'bool ModInt<mod>::operator>(const ModInt<mod>&)'
   84 |         bool operator>(const ModInt &that) { return x > that.x; }
      |              ^~~~~~~~
0_0_38757571_5029.cpp:82:14: note: previous declaration 'bool ModInt<mod>::operator>(const ModInt<mod>&)'
   82 |         bool operator>(const ModInt &that) { return x > that.x; }
      |              ^~~~~~~~
0_0_38757571_5029.cpp: In function 'std::istream& operator>>(std::istream&, ModInt<mod>&)':
0_0_38757571_5029.cpp:73:24: error: 'is' was not declared in this scope; did you mean 'in'?
   73 |                 return is;
      |                        ^~
      |                        in


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-26 10:15:56, Gzip enabled