S

@sum479

10번

C++
19 hours ago
#include <iostream> #include <vector> #include <algorithm> #include <string> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int n;

queue

C++
19 hours ago
#include <iostream> #include <string> #include <queue> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int n; cin >> n;

6번

Python
2 days ago
n = 6 k = 3 min = 0 for i in range(0,n): for l in range(1,n+1): if n%l == 0 and k > 0: k -= 1 min = l if k < 0 or k > 0: print("0")

6번 c++

C++
1 week ago
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int n; cin >> n;

c++

C++
1 week ago
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int n; cin >> n;

10번

Python
1 week ago
a = "Hello Python World" b = "" c = "" n = "" g = 0 j = 0 for i in range(0,3): while a[j] != ' ': if g == 0: b += a[j]

8번

Python
1 week ago
a = [1,2,3,4,5,6,7,8,9] m = int(input()) for i in range(0,9): for n in range(0,9): if (a[i]+a[n]) == 10:print(f"쌍: ({a[i]},{a[n]})")

레전더리 7번

Python
1 week ago
a = [[0,0,0],[0,0,0],[0,0,0]] h = 0 for i in range(0,3): for n in range(0,3): if a[i][n] == 0: h += 1 a[i][n] = h for n in range(0,3): if a[n][2] == 0: h += 1

4번

Python
1 week ago
a = [5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100] sum = 0 min = 0 j = 0 for i in range(0,1): sum = 0 if j <= 2: j += 1 for n in range(i,len(a)-1): sum += int(a[n]/j)

77번

Python
2 weeks ago
import string a = "pass123#a" avg = 0 avg += len(a) >= 8 for i in a: if a.isdigit(): avg += 1 break for i in a: if i in string.punctuation:

7번

Python
2 weeks ago
a = "Python2026!" avg = 0 if len(a) <= 10: avg+=2 if len(a) > 10 and len(a) <= 8: avg+=1 r = 0 k = 0 h = 0 u = 0