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_15664551_22648.cpp: In function 'int main()':
0_0_15664551_22648.cpp:13:9: error: 'arr' was not declared in this scope
    cin>>arr[i];
         ^
0_0_15664551_22648.cpp:18:4: error: 'dp' was not declared in this scope
    dp[0][i] = 0;
    ^
0_0_15664551_22648.cpp:26:5: error: 'dp' was not declared in this scope
     dp[l][i] = 0;
     ^
0_0_15664551_22648.cpp:29:9: error: 'arr' was not declared in this scope
      if(arr[i]>arr[j])
         ^
0_0_15664551_22648.cpp:38:9: error: 'dp' was not declared in this scope
    sum+=dp[k][i];
         ^


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-12-03 19:31:29, Gzip enabled