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_37633783_14205.cpp: In function 'void solve()':
0_0_37633783_14205.cpp:14:5: error: 'vector' was not declared in this scope
     vector<int> a(20);
     ^
0_0_37633783_14205.cpp:5:13: error: expected primary-expression before 'long'
 #define int long long
             ^
0_0_37633783_14205.cpp:14:12: note: in expansion of macro 'int'
     vector<int> a(20);
            ^
0_0_37633783_14205.cpp:18:9: error: 'a' was not declared in this scope
         a[++tot] = n % 10;
         ^
0_0_37633783_14205.cpp:27:31: error: 'a' was not declared in this scope
         ans += dp[i - 1][2] * a[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-11-20 00:33:53, Gzip enabled