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_38740367_24831.cpp:5:8: error: 'N' was not declared in this scope
    5 | int dp[N][4][4];// 0 1R 2G 3B
      |        ^
0_0_38740367_24831.cpp: In function 'void solve()':
0_0_38740367_24831.cpp:10:25: error: 'dp' was not declared in this scope
   10 |                         dp[0][i][j] = -inf;
      |                         ^~
0_0_38740367_24831.cpp:10:40: error: 'inf' was not declared in this scope; did you mean 'sinf'?
   10 |                         dp[0][i][j] = -inf;
      |                                        ^~~
      |                                        sinf
0_0_38740367_24831.cpp:16:9: error: 'dp' was not declared in this scope
   16 |         dp[0][0][0] = 0;
      |         ^~


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 15:40:04, Gzip enabled