Submission #444987

# Submission time Handle Problem Language Result Execution time Memory
444987 2021-07-16T07:31:12 Z Petremol Bubble Sort 2 (JOI18_bubblesort2) C++17
0 / 100
4 ms 560 KB
#include "bubblesort2.h"
#include <bits/stdc++.h>
#define all(x) x.begin(), x.end()
#define inf (int)(1e17+1)
#define mod (int)(1e9+7)
#define N (int)(2e5+5)
#define fi first
#define se second
#define endl "\n"
#define eps (double)(1e-9)
#define sa cout<<"sa"<<endl
using namespace std;

vector<int> countScans(vector<int> v,vector<int> p,vector<int> x){
	int n=v.size();
	int q=x.size();
	vector<int> ans(q);
		


	return ans;
}

Compilation message

bubblesort2.cpp: In function 'std::vector<int> countScans(std::vector<int>, std::vector<int>, std::vector<int>)':
bubblesort2.cpp:15:6: warning: unused variable 'n' [-Wunused-variable]
   15 |  int n=v.size();
      |      ^
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 4 ms 560 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB Output isn't correct
2 Halted 0 ms 0 KB -