제출 #1349309

#제출 시각아이디문제언어결과실행 시간메모리
1349309ramez-hammadRotating Lines (APIO25_rotate)C++20
컴파일 에러
0 ms0 KiB
#include <rotate.h>
#include <bits/stdc++.h>

using namespace std;

void energy(int n, std::vector<int> v) {
    sort(v.begin(), v.end());
    for (int i=0;i<n/2;i++) rotate({i+n/2}, (v[i]+25000)-v[n/2]); 
}

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

rotate.cpp:1:10: fatal error: rotate.h: No such file or directory
    1 | #include <rotate.h>
      |          ^~~~~~~~~~
compilation terminated.