Submission #521026

#TimeUsernameProblemLanguageResultExecution timeMemory
521026Valaki2Arranging Shoes (IOI19_shoes)C++14
10 / 100
1 ms284 KiB
#include "shoes.h" #define ll long long using namespace std; ll count_swaps(vector<int> s) { int n = s.size() / 2; return s[0] > s[1]; }

Compilation message (stderr)

shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:8:9: warning: unused variable 'n' [-Wunused-variable]
    8 |     int n = s.size() / 2;
      |         ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...