Submission #690918

# Submission time Handle Problem Language Result Execution time Memory
690918 2023-01-30T16:20:12 Z penguin133 Super Dango Maker (JOI22_dango3) C++17
7 / 100
3653 ms 632 KB
#include <bits/stdc++.h>
using namespace std;
#include "dango3.h"
 
int vis[20005];
void Solve(int N, int M) {
	for(int i=1;i<=M;i++){
		vector <int> fin;
		for(int j=1;j<=N*M;j++){
			if(vis[j])continue;
			vector <int> stuf;
			for(int k=1;k<=N*M;k++){
				if(vis[k] || k == j)continue;
				stuf.push_back(k);
			}
			if(Query(stuf) == M - i){
				fin.push_back(j);
				vis[j] = 1;
			}
		}
		Answer(fin);
	}
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 340 KB Output is correct
2 Correct 0 ms 340 KB Output is correct
3 Correct 0 ms 340 KB Output is correct
4 Correct 0 ms 340 KB Output is correct
5 Correct 0 ms 340 KB Output is correct
6 Correct 0 ms 340 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 37 ms 340 KB Output is correct
2 Correct 35 ms 340 KB Output is correct
3 Correct 35 ms 340 KB Output is correct
4 Correct 34 ms 368 KB Output is correct
5 Correct 36 ms 340 KB Output is correct
6 Correct 36 ms 340 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 1705 ms 592 KB Wrong Answer [3]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 3653 ms 632 KB Wrong Answer [3]
2 Halted 0 ms 0 KB -