Submission #20586

# Submission time Handle Problem Language Result Execution time Memory
20586 2017-02-12T13:33:20 Z model_code Reversing a Sequence (IOI16_reverse) C
100 / 100
46 ms 2684 KB
#include "reverse_c.h"

void reverse(int a_len, long long* a, long long* result) {
	for (int i = 0; i < a_len; i++) {
		result[i] = a[a_len - i - 1];
	}
}

# Verdict Execution time Memory Grader output
1 Correct 0 ms 1116 KB Output is correct
2 Correct 0 ms 1116 KB Output is correct
3 Correct 0 ms 1116 KB Output is correct
4 Correct 0 ms 1116 KB Output is correct
5 Correct 0 ms 1116 KB Output is correct
6 Correct 0 ms 1116 KB Output is correct
7 Correct 0 ms 1116 KB Output is correct
8 Correct 3 ms 1276 KB Output is correct
9 Correct 16 ms 1612 KB Output is correct
10 Correct 46 ms 2684 KB Output is correct