Submission #444987

#TimeUsernameProblemLanguageResultExecution timeMemory
444987PetremolBubble Sort 2 (JOI18_bubblesort2)C++17
0 / 100
4 ms560 KiB
#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 (stderr)

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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...