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_33978036_24021.cpp:1:1: error: 'include' does not name a type
 include <bits/stdc++.h>
 ^
0_0_33978036_24021.cpp:6:26: error: 'acos' was not declared in this scope
 const double pi = acos(-1);
                          ^
0_0_33978036_24021.cpp: In function 'int read()':
0_0_33978036_24021.cpp:28:23: error: 'isdigit' was not declared in this scope
     while (!isdigit(ch)) {
                       ^
0_0_33978036_24021.cpp:30:22: error: 'getchar' was not declared in this scope
         ch = getchar();
                      ^
0_0_33978036_24021.cpp:32:22: error: 'isdigit' was not declared in this scope
     while (isdigit(ch)) {
                      ^
0_0_33978036_24021.cpp:34:22: error: 'getchar' was not declared in this scope
         ch = getchar();
                      ^
0_0_33978036_24021.cpp: In function 'int main()':
0_0_33978036_24021.cpp:57:49: error: 'printf' was not declared in this scope
             if (y%2 == 1 || y == 0) printf("L\n");
                                                 ^
0_0_33978036_24021.cpp:58:30: error: 'printf' was not declared in this scope
             else printf("W\n");
                              ^
0_0_33978036_24021.cpp:62:49: error: 'printf' was not declared in this scope
             if (y%2 == 1 || y == 0) printf("W\n");
                                                 ^
0_0_33978036_24021.cpp:63:30: error: 'printf' was not declared in this scope
             else printf("L\n");
                              ^


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 21:46:42, Gzip enabled