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");
^
|