-
Notifications
You must be signed in to change notification settings - Fork 33
Войкина Варвара #13
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
VaryVA
wants to merge
26
commits into
psds-cpp:main
Choose a base branch
from
VaryVA: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
Войкина Варвара #13
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
318cf97
add (solution): add addition, check_flags, lenght_lit, print_bits, qu…
VaryVA 190ea20
add (solution): add check_flags task
VaryVA 58fbe23
add (solution): add length_lit task
VaryVA 3573ba1
add (solution): add print_bits task
VaryVA 15ec4a4
add (solution): add quadratic task
VaryVA 3fcc0bc
add (solution): add rms task
VaryVA 841c809
Merge branch 'main' of https://github.com/psds-cpp/psds-cpp-2025
VaryVA 7e86b75
Merge branch 'psds-cpp:main' into main
VaryVA f174bae
add (solution): add func_array task
VaryVA 2328946
Надо, я чего-то не того наделала (
VaryVA fc312f9
add (solution): add last_of_us task[C
VaryVA 837fe51
add (solution): add little_big task
VaryVA 6ea5c9f
add (solution): add longest task
VaryVA 98e5d59
add (solution): add pretty_array task
VaryVA 3a9a419
add (solution): add swap_ptr task
VaryVA ed70f99
Merge branch 'psds-cpp:main' into main
VaryVA 75cb8e6
Merge remote-tracking branch 'upstream/main'
VaryVA fc3abfa
Merge branch 'psds-cpp:main' into main
VaryVA 3d5c858
add (solution): add stack task
VaryVA 8a5e0bd
Merge branch 'main' of https://github.com/VaryVA/psds-cpp-2025
VaryVA c52f90c
add (solution): add phasor task
VaryVA 7dd4d11
add (solution): add queue task
VaryVA a6fea19
add (solution): add ring_buffer task
VaryVA 0693b53
add (solution): add stack task
VaryVA 39a594d
Trigger CI
VaryVA 4d40cd2
dont push build folder please
18thday 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 |
|---|---|---|
| @@ -1,7 +1,6 @@ | ||
| #include <cstdint> | ||
| #include <stdexcept> | ||
|
|
||
|
|
||
| int64_t Addition(int a, int b) { | ||
| throw std::runtime_error{"Not implemented"}; | ||
| } | ||
| return (int64_t)a + (int64_t)b; | ||
| } | ||
Oops, something went wrong.
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.
C-style cast не следует использовать в C++ коде, в данном случае нужен один static_cast.
Лишний каст, второй операнд не следует приводить явно, так как он бы преобразовался с помощью неявного каста. Принято использовать такую возможность и не писать явный каст самостоятельно второй раз