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_39551264_30003.cpp:45:61: error: stray '\243' in program
   45 |                 if(x != k) dp[u][1] = max({dp[u][1],dp[x][1]<a3><ac>val * dp[x][0]});
      |                                                             ^~~~
0_0_39551264_30003.cpp:45:62: error: stray '\254' in program
   45 |                 if(x != k) dp[u][1] = max({dp[u][1],dp[x][1]<a3><ac>val * dp[x][0]});
      |                                                                 ^~~~
0_0_39551264_30003.cpp: In function 'int main()':
0_0_39551264_30003.cpp:45:63: error: expected '}' before 'val'
   45 |                 if(x != k) dp[u][1] = max({dp[u][1],dp[x][1]£¬val * dp[x][0]});
      |                                           ~                   ^~~
0_0_39551264_30003.cpp:45:61: error: expected ')' before 'val'
   45 |                 if(x != k) dp[u][1] = max({dp[u][1],dp[x][1]£¬val * dp[x][0]});
      |                                          ~                  ^ ~~~
      |                                                             )
0_0_39551264_30003.cpp:45:78: error: expected primary-expression before ')' token
   45 |                 if(x != k) dp[u][1] = max({dp[u][1],dp[x][1]£¬val * dp[x][0]});
      |                                                                              ^
0_0_39551264_30003.cpp:48:12: error: 'in' was not declared in this scope; did you mean 'sin'?
   48 |         if(in[k] != 0) cout << "Impossible" << endl;
      |            ^~
      |            sin
0_0_39551264_30003.cpp:48:15: error: 'k' was not declared in this scope
   48 |         if(in[k] != 0) cout << "Impossible" << endl;
      |               ^
0_0_39551264_30003.cpp:49:12: error: 'dp' was not declared in this scope
   49 |         if(dp[k][0] - dp[k][1] > inf) cout << "Impossible" << endl;
      |            ^~
0_0_39551264_30003.cpp:49:15: error: 'k' was not declared in this scope
   49 |         if(dp[k][0] - dp[k][1] > inf) cout << "Impossible" << endl;
      |               ^
0_0_39551264_30003.cpp: At global scope:
0_0_39551264_30003.cpp:53:1: error: expected declaration before '}' token
   53 | }
      | ^


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-09-20 15:26:32, Gzip enabled