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;
^
|