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_39035081_28519.cpp: In function 'int main()':
0_0_39035081_28519.cpp:17:46: error: 'st' was not declared in this scope; did you mean 't'?
   17 |                                         if(((st>>j)&1) && s[j][k]=='A')sum|=(1<<j);
      |                                              ^~
      |                                              t
0_0_39035081_28519.cpp:22:38: error: 'pre' was not declared in this scope
   22 |                                 sum+=pre*cnt[i];
      |                                      ^~~
0_0_39035081_28519.cpp:25:33: error: 'k' was not declared in this scope
   25 |                         if(sum>=k)ans++;
      |                                 ^


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-22 23:19:22, Gzip enabled