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_36513881_28442.cpp: In function 'int main()':
0_0_36513881_28442.cpp:57:9: error: 'll' was not declared in this scope
         ll av=0;//分子
         ^
0_0_36513881_28442.cpp:58:12: error: expected ';' before 'shu'
         ll shu=0;//分母
            ^
0_0_36513881_28442.cpp:79:16: error: expected ';' before 'cnt'
             ll cnt;
                ^
0_0_36513881_28442.cpp:80:16: error: expected ';' before 'sum'
             ll sum;
                ^
0_0_36513881_28442.cpp:82:13: error: 'cnt' was not declared in this scope
             cnt=1;
             ^
0_0_36513881_28442.cpp:83:13: error: 'sum' was not declared in this scope
             sum=x;
             ^
0_0_36513881_28442.cpp:93:16: error: 'shu' was not declared in this scope
             if(shu==0)//之前还没环,则先赋值
                ^
0_0_36513881_28442.cpp:96:17: error: 'av' was not declared in this scope
                 av=sum;
                 ^
0_0_36513881_28442.cpp:100:29: error: 'av' was not declared in this scope
                 if(shu*sum!=av*cnt)//如果两个环的均值不相等,说明不行。
                             ^


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-29 20:49:41, Gzip enabled