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_33959467_3876.cpp: In function 'int main()':
0_0_33959467_3876.cpp:9:3: error: expected ')' before 'if'
   if(a[0]*a[0]+a[1]*a[1]==a[2]*a[2])
   ^
0_0_33959467_3876.cpp:11:3: error: 'else' without a previous 'if'
   else if(a[0]==a[1]||a[1]==a[2]||a[2]==a[0])
   ^
0_0_33959467_3876.cpp:12:20: error: 'pritf' was not declared in this scope
   pritf("perfect\n");
                    ^
0_0_33959467_3876.cpp:15:2: error: expected ';' before '}' token
  }
  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-11 16:50:37, Gzip enabled