Submission #1134674

#TimeUsernameProblemLanguageResultExecution timeMemory
1134674algoproclubA Plus B (IOI23_aplusb)C++20
Compilation error
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; }

Compilation message (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());
      |         ^~~