Skip to content

Commit 6ebc4af

Browse files
committed
[UPD] Implementation Solution 수정
1 parent bb820c6 commit 6ebc4af

File tree

18 files changed

+60
-9
lines changed

18 files changed

+60
-9
lines changed

solution/implementation/10994/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/67887b7c21504d718bfffa859b209589
14
#include<bits/stdc++.h>
25

36
using namespace std;

solution/implementation/1212/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/9aebf3cefd45466aa4c24dae72837024
14
#include<bits/stdc++.h>
25

36
using namespace std;

solution/implementation/1212/main.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# print(bin(int(input(),8))[2:]) 짧은 풀이
1+
# Authored by : tony9402
2+
# Co-authored by : -
3+
# Link : http://boj.kr/7d0d2bcb568d4c3d86770e520838ef65
4+
import sys
5+
6+
def input():
7+
return sys.stdin.readline().rstrip()
28

39
def change(num, first = False):
410
ret = ''

solution/implementation/1244/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/f13978d7e3b8455c846f5825c6eca041
14
#include<bits/stdc++.h>
25

36
using namespace std;

solution/implementation/12933/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/542de8e26b06406182f52af66cda1fc8
14
#include<bits/stdc++.h>
25

36
using namespace std;

solution/implementation/14467/main.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/88f56047b85749c39427398cd19c31e9
14
#include<bits/stdc++.h>
25

36
using namespace std;
@@ -8,7 +11,6 @@ int main(){
811
ios::sync_with_stdio(false);
912
cin.tie(0);
1013

11-
// 초기화
1214
for(int i=0;i<=100;i++) used[i] = -1;
1315

1416
int n; cin >> n;

solution/implementation/16926/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/b4aa5eb711ac44259b6e1d3b8a03ca59
14
#include<bits/stdc++.h>
25

36
using namespace std;

solution/implementation/17413/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/fe8c559fa57643e4a5b072a35a619f89
14
#include<bits/stdc++.h>
25

36
using namespace std;

solution/implementation/1913/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/9270997d7a5549b28187cb244dc0c62b
14
#include<bits/stdc++.h>
25

36
using namespace std;

solution/implementation/20053/main.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/ea1f7df70f5449f18d7cd9dc06640bb7
14
#include<bits/stdc++.h>
25

36
using namespace std;
@@ -9,7 +12,7 @@ int main(){
912
int t; cin >> t;
1013
while(t--){
1114
int n; cin >> n;
12-
int max_value = -1'000'001, min_value = 1'000'001;
15+
int max_value = -1000001, min_value = 1000001;
1316
for(int i=0;i<n;i++){
1417
int x; cin >> x;
1518
if(max_value < x) max_value = x;

solution/implementation/20207/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/495000f668564c6c9a71fa59b0380aae
14
#include<bits/stdc++.h>
25

36
using namespace std;

solution/implementation/20291/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/76369f4f8225439084adb5f553cecae8
14
#include<bits/stdc++.h>
25

36
using namespace std;

solution/implementation/20436/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/07f3319d2d85433d8a9df15316fca395
14
#include<bits/stdc++.h>
25

36
using namespace std;

solution/implementation/20546/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/a30111114ee042f983774cf658e84fb9
14
#include<bits/stdc++.h>
25

36
using namespace std;

solution/implementation/2578/main.cpp

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/6a874bc16cbc470eb3338e2ec945f180
14
#include<bits/stdc++.h>
25

36
using namespace std;
@@ -9,24 +12,20 @@ bool bingo() {
912
int line = 0;
1013

1114
bool bingo = true;
12-
// check x-axis & y-axis
1315
for(int i=0;i<5;i++){
14-
// check x-axis
1516
bingo = true;
1617
for(int j=0;j<5;j++){
17-
bingo &= used[i][j]; // 모든 곳이 체크 되어야 true
18+
bingo &= used[i][j];
1819
}
1920
if(bingo) line ++;
2021

21-
// check y-axis
2222
bingo = true;
2323
for(int j=0;j<5;j++){
2424
bingo &= used[j][i];
2525
}
2626
if(bingo) line ++;
2727
}
2828

29-
// 대각선
3029
bingo = true;
3130
for(int i=0;i<5;i++){
3231
bingo &= used[i][i];

solution/implementation/2753/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/a5fabcbae0604daabb17802f9323c69f
14
#include<bits/stdc++.h>
25

36
using namespace std;

solution/implementation/4396/main.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/a6ba32f17093473f9e0f5f3dee9f7ced
14
#include<bits/stdc++.h>
25

36
using namespace std;
@@ -10,7 +13,6 @@ int main(){
1013
ios::sync_with_stdio(false);
1114
cin.tie(0);
1215

13-
// Input
1416
int n; cin >> n;
1517
board.resize(n); push.resize(n);
1618
for(int i=0;i<n;i++) cin >> board[i];

solution/implementation/5597/main.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Authored by : tony9402
2+
// Co-authored by : -
3+
// Link : http://boj.kr/2fdc4dd328f9417b8b9f64e2ed0640be
14
#include<bits/stdc++.h>
25

36
using namespace std;

0 commit comments

Comments
 (0)