분류 전체보기 (82) 썸네일형 리스트형 [백준] 소인수분해 11653 Python C++ Python 1 2 3 4 5 6 7 8 9 N = int(input()) summ = 0 i = 0 while summ [백준] 문자열 반복 2675 C++ 123456789101112131415161718192021222324252627282930#include #include #include using namespace std; int main() { string str_T; getline(cin, str_T); int int_T; int_T = stoi(str_T); int temp_range; string a; for (int i = 0; i [백준] 화성수학 5355 C++ 1234567891011121314151617181920212223242526272829303132333435363738394041#include #include #include using namespace std; int main() { string N; int n; getline(cin, N); n = stoi(N); string s; float first; float *result = new float[n]; for (int i = 0; i C++ Template Function 1234567891011121314151617 #include using namespace std; template void abc(T n1, T1 n2){ cout 문자열 입력 Python 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071721) 문자열 입력 받은 후 공백 기준 파싱2) 숫자 엔터 구분 3) 문자 엔터구분 4) 문자열 엔터구분5) N by N6) N by M 1) 공백 구분 입력 받기 N = list(map(str input().strip().split())) 2) 숫자 엔터구분 입력받기 cnt = int(input())strs = ""lists = [] for i in range(cnt): N = int(input()) strs.append(N) lists.append(N) print(.. C++ 최소값(min), 최대값(max) 그리고 minmax() 123456789101112131415161718192021222324 #include #include using namespace std; int main(){ // min, max, minmax 는 #include 필요 그리고 자료형은 auto라는 점을 주의 // min, max의 경우 인자를 2개로 받음 auto result = min(1, 2); auto result2 = min(2, 3); cout C++ 문자열 정리 (String class) 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141#include #include #include using namespace std; int main(){ // [문자열] // 문자열 비교 stri.. [백준] 스택수열 1874 Python 1234567891011121314151617181920212223N = int(input())obj = []stack = []result = []idx = 0 for i in range(N): obj.append(int(input())) for i in range(1, N+1): stack.append(i) result.append("+") while idx 이전 1 ··· 6 7 8 9 10 11 다음