crash.software
Projects
Pull Requests
Issues
Builds
recollapse
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
recollapse
Commits
f4121c05
🤬
Sign In
Fixing newlines in input
0xacb
committed
1 year ago
f4121c05
1 parent
58baa19a
Total 1 files
■
■
■ ■ ■ ■
recollapse
skipped 44 lines
45
45
if not self.input:
46
46
if self.file:
47
47
with open(self.file) as f:
48
-
self.input = f.
read
()
48
+
self.input = f.
readlines
(
)
[
0
]
.
rstrip
()
49
49
else:
50
50
self.input = sys.stdin.read().rstrip()
51
51
skipped 139 lines
All occurrences
Please wait...
Page is in error, reload to recover