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_30329702_21376.cpp:1:1: error: 'include' does not name a type
 include <iostream>
 ^
0_0_30329702_21376.cpp: In function 'int main()':
0_0_30329702_21376.cpp:8:5: error: 'cin' was not declared in this scope
     cin>>t;
     ^
0_0_30329702_21376.cpp:12:56: error: 'scanf' was not declared in this scope
         for(int i = 1; i <= n-1; i++) scanf("%d", &a[i]);
                                                        ^
0_0_30329702_21376.cpp:13:28: error: 'puts' was not declared in this scope
         if(n & 1) puts("No");
                            ^
0_0_30329702_21376.cpp:26:36: error: 'puts' was not declared in this scope
             puts(val ? "No" : "Yes");
                                    ^


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-12-05 07:03:17, Gzip enabled