[코드업] 1805 : 입체기동장치 생산공장
https://codeup.kr/problem.php?id=1805&rid=0 입체기동장치 생산공장 첫째 줄부터 n번째 줄까지 각 줄에 식별번호를 오름차순으로 정렬해 가스 보유량과 같이 출력한다. codeup.kr #define _CRT_SECURE_NO_WARNINGS #include #include typedef struct device { int number; int gas; }device; int main() { int count; scanf("%d", &count); device* device_count = (device*)malloc(count * sizeof(device)); for (int i = 0; i < count; i++) { scanf("%d %d", &(device_count[i..
2023.06.16