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_21601015_24202.cpp: In function 'int main()':
0_0_21601015_24202.cpp:23:9: error: 'll' was not declared in this scope
         ll ans = 0 ;
         ^
0_0_21601015_24202.cpp:25:16: error: expected ';' before 'sz'
             ll sz = B[i].size() ;
                ^
0_0_21601015_24202.cpp:26:16: error: 'sz' was not declared in this scope
             if(sz >= 2) {
                ^
0_0_21601015_24202.cpp:27:20: error: expected ';' before 'res'
                 ll res = 0 ;
                    ^
0_0_21601015_24202.cpp:29:21: error: 'res' was not declared in this scope
                     res += A[B[i][j]].size() - 1 ;
                     ^
0_0_21601015_24202.cpp:31:17: error: 'res' was not declared in this scope
                 res = res * (sz - 1) ;
                 ^
0_0_21601015_24202.cpp:32:17: error: 'ans' was not declared in this scope
                 ans += res ;
                 ^
0_0_21601015_24202.cpp:35:17: error: 'ans' was not declared in this scope
         cout << ans * 2<< endl;
                 ^


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-06-17 10:00:51, Gzip enabled