제출 #267015

#제출 시각아이디문제언어결과실행 시간메모리
267015NurstanDuisengalievArranging Shoes (IOI19_shoes)C++14
0 / 100
1 ms256 KiB
#include "shoes.h" #include <bits/stdc++.h> using namespace std; long long count_swaps(std::vector<int> s) { long long ans = 0; if (s[0] > 0) ans; return ans; }

컴파일 시 표준 에러 (stderr) 메시지

shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:9:16: warning: statement has no effect [-Wunused-value]
    9 |  if (s[0] > 0) ans;
      |                ^~~
#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...