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_39290574_30056.cpp: In function 'int Dijsktra(std::vector<std::vector<std::pair<int, int> > >&, int, std::unordered_set<int>, int)':
0_0_39290574_30056.cpp:52:12: error: 'INT32_MAX' was not declared in this scope
   52 |     return INT32_MAX;
      |            ^~~~~~~~~
0_0_39290574_30056.cpp:7:1: note: 'INT32_MAX' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
    6 | #include <queue>
  +++ |+#include <cstdint>
    7 | using namespace std;
0_0_39290574_30056.cpp: In function 'int main()':
0_0_39290574_30056.cpp:83:19: error: 'INT32_MAX' was not declared in this scope
   83 |         int max = INT32_MAX;
      |                   ^~~~~~~~~
0_0_39290574_30056.cpp:83:19: note: 'INT32_MAX' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?


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-07-02 14:36:53, Gzip enabled