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_33209528_3818.cpp: In function 'int main()':
0_0_33209528_3818.cpp:12:13: error: 'cin' was not declared in this scope
     while ( cin>>n&& n)//(传说中的坑爹)
             ^
0_0_33209528_3818.cpp:15:11: error: expected ';' before 'scanf'
           scanf("%d%d",&x[i],&y[i]);
           ^
0_0_33209528_3818.cpp:15:36: error: expected ')' before ';' token
           scanf("%d%d",&x[i],&y[i]);
                                    ^
0_0_33209528_3818.cpp:19:8: error: expected ';' before '{' token
        {
        ^
0_0_33209528_3818.cpp:19:8: error: expected primary-expression before '{' token
0_0_33209528_3818.cpp:19:8: error: expected ')' before '{' token
0_0_33209528_3818.cpp:21:12: error: expected ';' before '{' token
            {
            ^
0_0_33209528_3818.cpp:21:12: error: expected primary-expression before '{' token
0_0_33209528_3818.cpp:21:12: error: expected ')' before '{' token
0_0_33209528_3818.cpp:24:18: error: expected ';' before 'if'
                  if ((x[j] - x[i])* (y[k] - y[i]) - (y[j] -y[i])* (x[k] - x[i]) == 0)
                  ^
0_0_33209528_3818.cpp:24:18: error: expected primary-expression before 'if'
0_0_33209528_3818.cpp:24:18: error: expected ')' before 'if'


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-17 04:17:50, Gzip enabled