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_30273148_23982.cpp:42:18: error: 'time' was not declared in this scope
 mt19937 rd(time(0));
                  ^
0_0_30273148_23982.cpp: In function 'int solve()':
0_0_30273148_23982.cpp:52:13: error: expected unqualified-id before '[' token
   for (auto [y,w]:g[x]) if (dp[y][i]!=-INF) {
             ^
0_0_30273148_23982.cpp:52:13: error: expected ';' before '[' token
0_0_30273148_23982.cpp:25:11: error: 'second' was not declared in this scope
 #define y second
           ^
0_0_30273148_23982.cpp:52:14: note: in expansion of macro 'y'
   for (auto [y,w]:g[x]) if (dp[y][i]!=-INF) {
              ^
0_0_30273148_23982.cpp:52:16: error: 'w' was not declared in this scope
   for (auto [y,w]:g[x]) if (dp[y][i]!=-INF) {
                ^
0_0_30273148_23982.cpp: In lambda function:
0_0_30273148_23982.cpp:52:18: error: expected '{' before ':' token
   for (auto [y,w]:g[x]) if (dp[y][i]!=-INF) {
                  ^
0_0_30273148_23982.cpp: In function 'int solve()':
0_0_30273148_23982.cpp:52:18: error: expected ';' before ':' token
0_0_30273148_23982.cpp:52:18: error: expected primary-expression before ':' token
0_0_30273148_23982.cpp:52:18: error: expected ')' before ':' token
0_0_30273148_23982.cpp:52:18: error: expected primary-expression before ':' token


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 20:10:30, Gzip enabled