This website requires JavaScript.
Explore
Help
Sign In
Kiritow
/
OJ-Problems-Source
mirror of
https://github.com/Kiritow/OJ-Problems-Source
Watch
1
Star
0
Fork
You've already forked OJ-Problems-Source
0
Code
Issues
Projects
Releases
Wiki
Activity
master
OJ-Problems-Source
/
HDOJ
/
2554_autoAC.cpp
8 lines
122 B
C++
Raw
Permalink
Blame
History
#
include
<stdio.h>
int
main
(
)
{
int
n
;
while
(
scanf
(
"
%d
"
,
&
n
)
&
&
n
)
n
*
(
n
+
1
)
/
2
&
1
?
puts
(
"
N
"
)
:
puts
(
"
Y
"
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink