Submission #512552

#TimeUsernameProblemLanguageResultExecution timeMemory
512552terrasphereArranging Shoes (IOI19_shoes)C++17
10 / 100
1 ms204 KiB
#include "shoes.h" #include <bits/stdc++.h> long long count_swaps(std::vector<int> s) { if(s[0]>0) return 1; return 0; }

Compilation message (stderr)

shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:6:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    6 |     if(s[0]>0)
      |     ^~
shoes.cpp:8:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    8 |  return 0;
      |  ^~~~~~
#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...