#include "reverse_c.h"
void reverse(int n, long long *aa, long long *bb) {
int i;
for (i = 0; i < n; i++)
bb[n - 1 - i] = aa[i];
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
348 KB |
Output is correct |
2 |
Correct |
0 ms |
348 KB |
Output is correct |
3 |
Correct |
0 ms |
348 KB |
Output is correct |
4 |
Correct |
0 ms |
344 KB |
Output is correct |
5 |
Correct |
0 ms |
348 KB |
Output is correct |
6 |
Correct |
0 ms |
600 KB |
Output is correct |
7 |
Correct |
2 ms |
348 KB |
Output is correct |
8 |
Correct |
3 ms |
860 KB |
Output is correct |
9 |
Correct |
8 ms |
1968 KB |
Output is correct |
10 |
Correct |
31 ms |
5804 KB |
Output is correct |