How to detect for eoln ?
Are there any pre-definied constants, e.g. Pi in C++ ?
I / O
Moderator: Board moderators
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact:
-
- Experienced poster
- Posts: 147
- Joined: Fri Jun 13, 2003 10:46 pm
-
- Guru
- Posts: 834
- Joined: Wed May 29, 2002 4:11 pm
- Location: Wroclaw, Poland
- Contact:
1. if you want to check eoln you should be awere to check two characters: '\r' and '\n' ....
2. standard PI definitions (in many contests and in many problems at this site) is acos(-1.0) or 2.0*acos(0.0)
Best regards
DM
2. standard PI definitions (in many contests and in many problems at this site) is acos(-1.0) or 2.0*acos(0.0)
Best regards
DM
If you really want to get Accepted, try to think about possible, and after that - about impossible ... and you'll get, what you want ....
Born from ashes - restarting counter of problems (800+ solved problems)
Born from ashes - restarting counter of problems (800+ solved problems)
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact: