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_36714945_20157.cpp:19:1: error: 'll' does not name a type
 ll s, a[maxn];
 ^
0_0_36714945_20157.cpp:21:1: error: 'll' does not name a type
 ll calc(vector<ll> v, int length) {
 ^
0_0_36714945_20157.cpp:43:1: error: 'll' does not name a type
 ll solve() {
 ^
0_0_36714945_20157.cpp: In function 'int main()':
0_0_36714945_20157.cpp:73:7: error: 'read' was not declared in this scope
 read(T);
       ^
0_0_36714945_20157.cpp:75:15: error: 's' was not declared in this scope
 read(n), read(s), read(m), read(k);
               ^
0_0_36714945_20157.cpp:76:5: error: 'i' was not declared in this scope
 rep(i, 0, n - 1)    read(a[i]);
     ^
0_0_36714945_20157.cpp:76:16: error: 'rep' was not declared in this scope
 rep(i, 0, n - 1)    read(a[i]);
                ^
0_0_36714945_20157.cpp:77:53: error: 'solve' was not declared in this scope
 printf("Case #%d: %lld\n", kase, max(0LL, s - solve()));
                                                     ^


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-25 09:52:10, Gzip enabled