Submission #266430

#TimeUsernameProblemLanguageResultExecution timeMemory
266430wdjpngArranging Shoes (IOI19_shoes)C++17
10 / 100
1 ms384 KiB
#include <bits/stdc++.h> #define rep(i,n) for(int i = 0; i < n; i++) #define lint long long using namespace std; lint count_swaps(vector<int> s){ int n = s.size(); if(s[0]<s[1]){return 0;} return 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();
      |         ^
#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...