제출 #1134674

#제출 시각아이디문제언어결과실행 시간메모리
1134674algoproclubA Plus B (IOI23_aplusb)C++20
컴파일 에러
0 ms0 KiB
// UUID: fe634c6f-b73b-4f8e-b45d-df94ec75ea76
#include "aplusb.h"
#include <bits/stdc++.h>
using namespace std;

std::vector<int> smallest_sums(int N, std::vector<int> A, std::vector<int> B) {
	vector<int> c;
	for (int i = 0; i < N; i++) {
		for (int j = 0; j < N; j++) {
			c.push_back(A[i] + B[j]);
		}
	}
	ort(c.begin(), c.end());
	c.resize(N);
	return c;
}

컴파일 시 표준 에러 (stderr) 메시지

aplusb.cpp: In function 'std::vector<int> smallest_sums(int, std::vector<int>, std::vector<int>)':
aplusb.cpp:13:9: error: 'ort' was not declared in this scope
   13 |         ort(c.begin(), c.end());
      |         ^~~