Submission #426857

# Submission time Handle Problem Language Result Execution time Memory
426857 2021-06-14T10:30:55 Z markthitrin Toy Train (IOI17_train) C++14
0 / 100
7 ms 844 KB
#include "train.h"

std::vector<int> who_wins(std::vector<int> a, std::vector<int> r, std::vector<int> u, std::vector<int> v) {
	std::vector<int> res(a.size());
	long long ans = 1;
	int N = a.size();
	int M = u.size();
    for(int q = 0 ;q<N*3;q++){
        for(int w = 0;w<M;w++){
            ans *= ans;
        }
    }
	return res;
}
# Verdict Execution time Memory Grader output
1 Incorrect 3 ms 460 KB 3rd lines differ - on the 14th token, expected: '1', found: '0'
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB 3rd lines differ - on the 2nd token, expected: '1', found: '0'
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 6 ms 588 KB Output is correct
2 Correct 7 ms 844 KB Output is correct
3 Correct 6 ms 804 KB Output is correct
4 Incorrect 6 ms 844 KB 3rd lines differ - on the 1st token, expected: '1', found: '0'
5 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 5 ms 588 KB 3rd lines differ - on the 1st token, expected: '1', found: '0'
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 7 ms 588 KB 3rd lines differ - on the 1st token, expected: '1', found: '0'
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 3 ms 460 KB 3rd lines differ - on the 14th token, expected: '1', found: '0'
2 Halted 0 ms 0 KB -