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_38627816_29954.cpp: In function 'int main()':
0_0_38627816_29954.cpp:16:21: error: 'p' was not declared in this scope
   for(i=1;i<=n;i++) p[i][i]=1.0;
                     ^
0_0_38627816_29954.cpp:19:4: error: 'p' was not declared in this scope
    p[mp[s1]][mp[s2]]=c;
    ^
0_0_38627816_29954.cpp:24:18: error: 'p' was not declared in this scope
               if(p[i][j]<p[i][k]*p[k][j]);
                  ^
0_0_38627816_29954.cpp:26:10: error: 'p' was not declared in this scope
       if(p[i][i]>1) {flag=1;break;}
          ^


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-07-07 06:17:52, Gzip enabled