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_17958015_9782.cpp: In function 'int main()':
0_0_17958015_9782.cpp:64:4: error: expected ';' before 'int'
    int t=i;
    ^
0_0_17958015_9782.cpp:65:4: error: 't' was not declared in this scope
    t=i-1;
    ^
0_0_17958015_9782.cpp:71:5: error: 'dp' was not declared in this scope
     dp[i]=i;
     ^
0_0_17958015_9782.cpp:72:4: error: 'dp' was not declared in this scope
    dp[0]=0;
    ^
0_0_17958015_9782.cpp:78:22: error: request for member 'size' in 'l', which is of non-class type 'std::vector<int> [50005]'
     for(int i=t;t<=l.size();t++)
                      ^
0_0_17958015_9782.cpp:87:17: error: 'dp' was not declared in this scope
   printf("%d\n",dp[n]);
                 ^


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-23 05:41:40, Gzip enabled