This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
long long b[323567],c[323456],a[323456],tt;
long long s,x,xx,m,y,r,n,t,k,l,aa,bb,cc,dd;
long long i, j, z;
vector <long long>w[223456],ww;
string q,p,qq;
int count_swaps( vector < int > vc ){
n = vc.size();
if (n == 1){
if (vc[0]<0)
s=0;
else s=1;
return s;
}
}
Compilation message (stderr)
shoes.cpp: In function 'int count_swaps(std::vector<int>)':
shoes.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type]
18 | }
| ^
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |