-
Notifications
You must be signed in to change notification settings - Fork 25
ABC451 / cnvxlns #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cnvxlns
wants to merge
8
commits into
PNU-PULSE:main
Choose a base branch
from
cnvxlns:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
ABC451 / cnvxlns #36
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
16fde49
A: WA
cnvxlns baf6f51
A: AC
cnvxlns d23b84f
Merge branch 'main' of https://github.com/cnvxlns/2026-AtCoder-Study
cnvxlns 29f3fdd
B: AC
cnvxlns 617d4ed
C: AC
cnvxlns e846f47
D: MLE
cnvxlns 775efaf
D: AC(대회 후)
cnvxlns 25fd4ac
D: AC(대회 후)
cnvxlns File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| import sys | ||
| import math | ||
| import heapq | ||
| from collections import deque, defaultdict, Counter | ||
| from itertools import permutations, combinations, product | ||
| from bisect import bisect_left, bisect_right | ||
|
|
||
| sys.setrecursionlimit(int(1e6)) | ||
| inf = math.inf | ||
| input = sys.stdin.readline | ||
|
|
||
| MOD = 1e9 + 7 | ||
|
|
||
| drc = [(-1, 0), (0, 1), (1, 0), (0, -1)] | ||
|
|
||
| def init(): | ||
|
|
||
| return | ||
|
|
||
| def solve(): | ||
| s = input() | ||
| print(len(s)) | ||
| if len(s) % 5 == 0: | ||
| print("Yes") | ||
| else: | ||
| print("No") | ||
| return | ||
|
|
||
| if __name__ == "__main__": | ||
| init() | ||
| t = 1 | ||
| # t = int(input()) | ||
| while t: | ||
| t -= 1 | ||
| solve() | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
input을 input = lambda: sys.stdin.readline().rstrip("\n") 으로 해주면 편하고
MOD도 1e9+7 하면 float 타입일거라 10**9+7로 써야합니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
input에 rstrip포함은 꿀팁이네요