Skip to content
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

부분 문자열 #159

Closed
Tracked by #157
fkdl0048 opened this issue Oct 30, 2024 · 0 comments
Closed
Tracked by #157

부분 문자열 #159

fkdl0048 opened this issue Oct 30, 2024 · 0 comments
Assignees
Milestone

Comments

@fkdl0048
Copy link
Owner

fkdl0048 commented Oct 30, 2024

#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>

// 파라미터로 주어지는 문자열은 const로 주어집니다. 변경하려면 문자열을 복사해서 사용하세요.
int solution(const char* str1, const char* str2) {
    if (strstr(str2, str1) != NULL) 
    {
        return 1;
    }
    else
    {
        return 0;
    }
}
@fkdl0048 fkdl0048 self-assigned this Oct 30, 2024
@fkdl0048 fkdl0048 added this to Todo Oct 30, 2024
@github-project-automation github-project-automation bot moved this to Todo in Todo Oct 30, 2024
@fkdl0048 fkdl0048 added this to the Programmers milestone Oct 30, 2024
@fkdl0048 fkdl0048 moved this from Todo to In Progress in Todo Oct 30, 2024
@fkdl0048 fkdl0048 closed this as completed Nov 5, 2024
@github-project-automation github-project-automation bot moved this from Two-Week Plan to Done in Todo Nov 5, 2024
@fkdl0048 fkdl0048 reopened this Nov 5, 2024
@fkdl0048 fkdl0048 closed this as completed Nov 5, 2024
@github-project-automation github-project-automation bot moved this from Done to Todo in Todo Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant