Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f9a85ce

Browse files
committed
main 함수명 변
1 parent 66c3c26 commit f9a85ce

File tree

147 files changed

+619
-307
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+619
-307
lines changed

‎Programmers/Lv1/Lv1_2016년.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <iostream>
44
using namespace std;
55

6-
string solution1(int a, int b) {
6+
string solution(int a, int b) {
77
vector<string> v = { "SUN","MON","TUE","WED","THU","FRI","SAT" };
88
int index = 0;
99
if (a == 1 || a==4 || a==7) index = 5;

‎Programmers/Lv1/Lv1_K번째수.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <algorithm>
44
using namespace std;
55

6-
vector<int> solution2(vector<int> array, vector<vector<int>> commands) {
6+
vector<int> solution(vector<int> array, vector<vector<int>> commands) {
77
vector<int> answer;
88
for (int i = 0; i < commands.size(); i++) {
99
int begin = commands[i][0];

‎Programmers/Lv1/Lv1_N으로표현.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ void go(int N, int number, int result, int count) {
2525

2626
}
2727
}
28-
int solution3(int N, int number) {
28+
int solution(int N, int number) {
2929
go(N, number, 0, 0);
3030
return mincount;
3131
}

‎Programmers/Lv1/Lv1_x만큼간격이있는n개의숫자.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using namespace std;
55

6-
vector<long long> solution33(int x, int n) {
6+
vector<long long> solution(int x, int n) {
77
vector<long long> answer;
88
long long temp = 0;
99
for (int i = 0; i < n; i++) {

‎Programmers/Lv1/Lv1_가운데글자가져오기.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using namespace std;
55

6-
string solution4(string s) {
6+
string solution(string s) {
77
string answer = "";
88
if (s.length() % 2 == 0)
99
answer.push_back(s[(s.length() / 2) - 1]);

‎Programmers/Lv1/Lv1_같은숫자는싫어.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using namespace std;
55

6-
vector<int> solution5(vector<int> arr)
6+
vector<int> solution(vector<int> arr)
77
{
88
vector<int> answer;
99
int prev = arr[0];

‎Programmers/Lv1/Lv1_나누어떨어지는숫자배열.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <algorithm>
44
using namespace std;
55

6-
vector<int> solution6(vector<int> arr, int divisor) {
6+
vector<int> solution(vector<int> arr, int divisor) {
77
vector<int> answer;
88

99
if (divisor == 1) {

‎Programmers/Lv1/Lv1_두정수사이의합.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using namespace std;
55

6-
long long solution34(int a, int b) {
6+
long long solution(int a, int b) {
77
long long answer = 0;
88
int temp=0;
99
if (a > b) {

‎Programmers/Lv1/Lv1_모의고사.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
using namespace std;
77

8-
vector<int> solution7(vector<int> answers) {
8+
vector<int> solution(vector<int> answers) {
99
vector<int> answer;
1010
int a = 0, b = 0, c = 0;
1111
int size = answers.size();

‎Programmers/Lv1/Lv1_문자열내p와y의개수.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <iostream>
33
using namespace std;
44

5-
bool solution36(string s)
5+
bool solution(string s)
66
{
77
bool answer = true;
88
int p = 0;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /