Skip to content

asd #3

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
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

asd #3

wants to merge 7 commits into from

Conversation

Mathew131
Copy link
Contributor

No description provided.


int main() { return 0; }
int main() {
int a;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

не очень хорошие названия переменных

int i = 0;
int j = b.size() - 1;
while (b[i] + b[j] != a) {
if (b[i] + b[j] < a) i++;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++i

@@ -0,0 +1,11 @@
#include "utils.hpp"

std::pair<int, int> Task1(int m, std::vector<int> a) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

давай назовем переменные как-то по другому, а не просто a, m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants