제출 #337672

#제출 시각아이디문제언어결과실행 시간메모리
337672aris12345678뒤집기 (IOI16_reverse)C++14
0 / 100
1 ms492 KiB
#include <bits/stdc++.h>

using namespace std;

const int mxN = 1e5+5;

vector<long long> reverse(vector<long long> a) {
    int i = 0, j = a.size()-1;
    while(i < j) {
        swap(a[i], a[j]);
        ++i, ++j;
    }
    return a;
}

/*int main() {
    ios::sync_with_stdio(false); cin.tie(0);

}*/
#Verdict Execution timeMemoryGrader output
Fetching results...