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_38761384_2244.cpp:24:47: error: ISO C++17 does not allow dynamic exception specifications
   24 |     friend Int operator/=(Int &, const Int &) throw(DividedByZeroException);
      |                                               ^~~~~
0_0_38761384_2244.cpp:25:47: error: ISO C++17 does not allow dynamic exception specifications
   25 |     friend Int operator%=(Int &, const Int &) throw(DividedByZeroException);
      |                                               ^~~~~
0_0_38761384_2244.cpp:29:52: error: ISO C++17 does not allow dynamic exception specifications
   29 |     friend Int operator/(const Int &, const Int &) throw(DividedByZeroException);
      |                                                    ^~~~~
0_0_38761384_2244.cpp:30:52: error: ISO C++17 does not allow dynamic exception specifications
   30 |     friend Int operator%(const Int &, const Int &) throw(DividedByZeroException);
      |                                                    ^~~~~
0_0_38761384_2244.cpp:306:42: error: ISO C++17 does not allow dynamic exception specifications
  306 | Int operator/=(Int &op1, const Int &op2) throw(DividedByZeroException)
      |                                          ^~~~~
0_0_38761384_2244.cpp:339:42: error: ISO C++17 does not allow dynamic exception specifications
  339 | Int operator%=(Int &op1, const Int &op2) throw(DividedByZeroException)
      |                                          ^~~~~
0_0_38761384_2244.cpp:361:47: error: ISO C++17 does not allow dynamic exception specifications
  361 | Int operator/(const Int &op1, const Int &op2) throw(DividedByZeroException)
      |                                               ^~~~~
0_0_38761384_2244.cpp:367:47: error: ISO C++17 does not allow dynamic exception specifications
  367 | Int operator%(const Int &op1, const Int &op2) throw(DividedByZeroException)
      |                                               ^~~~~


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-16 18:21:43, Gzip enabled