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_36514567_31226.cpp: In function 'db calc(int)':
0_0_36514567_31226.cpp:9:21: error: 'll' was not declared in this scope
     int j=i,k=i,c=0;ll t=0;
                     ^
0_0_36514567_31226.cpp:10:25: error: 't' was not declared in this scope
     for(;!vis[j];j=a[j])t+=j,++c,vis[j]=1;
                         ^
0_0_36514567_31226.cpp:11:22: error: 't' was not declared in this scope
     for(;k!=j;k=a[k])t-=k,--c;
                      ^
0_0_36514567_31226.cpp:12:24: error: 't' was not declared in this scope
     return c==0?-1:(db)t/c;
                        ^


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:53:41, Gzip enabled