Submission #838350

# Submission time Handle Problem Language Result Execution time Memory
838350 2023-08-26T16:46:27 Z ma_moutahid Carnival Tickets (IOI20_tickets) C++17
0 / 100
0 ms 336 KB
#include "tickets.h"
#include <vector>



long long find_maximum(int k, std::vector<std::vector<int>> x) {
	int n = x.size();
	int m = x[0].size();
	long long prize=0;
	std::vector<std::vector<int>> answer(n, std::vector<int>(m));
	for(int i=0;i<n;i++){
		for(int j=0;j<m;j++){
			prize+=x[i][j];
			answer[i][j]=0;
		}
	}
	allocate_tickets(answer);
	return prize;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 336 KB Contestant returned 298620960 but the tickets gives a total value of 1299636088
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB There is multiple tickets of color 0 on day 0
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB There is multiple tickets of color 0 on day 0
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB There is multiple tickets of color 0 on day 0
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB There is multiple tickets of color 0 on day 0
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB There is multiple tickets of color 0 on day 0
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 336 KB Contestant returned 298620960 but the tickets gives a total value of 1299636088
2 Halted 0 ms 0 KB -