# a=int(input())# s=list(map(int,input().split()))# list=[]# for i in range(0,a) :# for j in range(i+1,-1,-1) :# if <=s[j] :# list[i]=j# else :# list[i]=0# continue# print(list)#'''list에서 데이터를 지우는법list = [5,4,3,2,1]1. list.pop() 맨 마지막거 지우기2. del list[i] i번째 데이터 지우기3. list.remove(3) 3을 찾아서 지우기 (여러개있으면, 첫번째꺼만지우기)'''# list=[]# a=int(input())# for i in range(a) :# list1=input()# if list1[1]=='u' :# x,y,z=map(str,list1.split())# list.append(int(y))# list.sort()# list.reverse()# elif list1[0]=='t' :# if len(list)==0 :# print('-1')# else :# print(list[0])# elif list1[0]=='p' :# if len(list)==0 :# continue# else :# del list[0]# elif list1[0]=='s' :# print(len(list))# elif list1[0]=='e' :# if len(list)==0 :# print('true')# else :# print("false")# c언어 문법 완료# c언어 자료구조 ( dfs/bfs남음 )# python 문법 ~ 함수까지 완료 ( 재귀, 클래스, 상속)### 1. c언어로 돌아가서 재귀 복습하고 dfs/bfs 끝낸다#>>>>>>>>> 2. python 클래스/상속 배우기 ( 하진 pick)# 3. python 재귀 배우고 dfs/bfs 끝낸다s=input()
top of page

bottom of page