File tree 18 files changed +60
-9
lines changed
18 files changed +60
-9
lines changed Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/67887b7c21504d718bfffa859b209589
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/9aebf3cefd45466aa4c24dae72837024
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
Original file line number Diff line number Diff line change 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 ()
2
8
3
9
def change (num , first = False ):
4
10
ret = ''
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/f13978d7e3b8455c846f5825c6eca041
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/542de8e26b06406182f52af66cda1fc8
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/88f56047b85749c39427398cd19c31e9
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
@@ -8,7 +11,6 @@ int main(){
8
11
ios::sync_with_stdio (false );
9
12
cin.tie (0 );
10
13
11
- // 초기화
12
14
for (int i=0 ;i<=100 ;i++) used[i] = -1 ;
13
15
14
16
int n; cin >> n;
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/b4aa5eb711ac44259b6e1d3b8a03ca59
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/fe8c559fa57643e4a5b072a35a619f89
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/9270997d7a5549b28187cb244dc0c62b
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/ea1f7df70f5449f18d7cd9dc06640bb7
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
@@ -9,7 +12,7 @@ int main(){
9
12
int t; cin >> t;
10
13
while (t--){
11
14
int n; cin >> n;
12
- int max_value = -1'000'001 , min_value = 1'000'001 ;
15
+ int max_value = -1000001 , min_value = 1000001 ;
13
16
for (int i=0 ;i<n;i++){
14
17
int x; cin >> x;
15
18
if (max_value < x) max_value = x;
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/495000f668564c6c9a71fa59b0380aae
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/76369f4f8225439084adb5f553cecae8
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/07f3319d2d85433d8a9df15316fca395
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/a30111114ee042f983774cf658e84fb9
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/6a874bc16cbc470eb3338e2ec945f180
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
@@ -9,24 +12,20 @@ bool bingo() {
9
12
int line = 0 ;
10
13
11
14
bool bingo = true ;
12
- // check x-axis & y-axis
13
15
for (int i=0 ;i<5 ;i++){
14
- // check x-axis
15
16
bingo = true ;
16
17
for (int j=0 ;j<5 ;j++){
17
- bingo &= used[i][j]; // 모든 곳이 체크 되어야 true
18
+ bingo &= used[i][j];
18
19
}
19
20
if (bingo) line ++;
20
21
21
- // check y-axis
22
22
bingo = true ;
23
23
for (int j=0 ;j<5 ;j++){
24
24
bingo &= used[j][i];
25
25
}
26
26
if (bingo) line ++;
27
27
}
28
28
29
- // 대각선
30
29
bingo = true ;
31
30
for (int i=0 ;i<5 ;i++){
32
31
bingo &= used[i][i];
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/a5fabcbae0604daabb17802f9323c69f
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/a6ba32f17093473f9e0f5f3dee9f7ced
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
@@ -10,7 +13,6 @@ int main(){
10
13
ios::sync_with_stdio (false );
11
14
cin.tie (0 );
12
15
13
- // Input
14
16
int n; cin >> n;
15
17
board.resize (n); push.resize (n);
16
18
for (int i=0 ;i<n;i++) cin >> board[i];
Original file line number Diff line number Diff line change
1
+ // Authored by : tony9402
2
+ // Co-authored by : -
3
+ // Link : http://boj.kr/2fdc4dd328f9417b8b9f64e2ed0640be
1
4
#include < bits/stdc++.h>
2
5
3
6
using namespace std ;
You can’t perform that action at this time.
0 commit comments