Submission #414649

#TimeUsernameProblemLanguageResultExecution timeMemory
414649hibye1217Arranging Shoes (IOI19_shoes)C++17
10 / 100
1 ms280 KiB
#include "shoes.h" long long count_swaps(std::vector<int> s) { int n = s.size(); if (s[0] < 0){ return 0; } else{ return 1; } }

Compilation message (stderr)

shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:4:6: warning: unused variable 'n' [-Wunused-variable]
    4 |  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...