제출 #465357

#제출 시각아이디문제언어결과실행 시간메모리
465357aris12345678Arranging Shoes (IOI19_shoes)C++14
10 / 100
1 ms204 KiB
#include "shoes.h" #include <bits/stdc++.h> using namespace std; typedef long long ll; const int mxN = 100005; ll count_swaps(vector<int> s) { int n = int(s.size()); if(s[0] > 0) return 1; return 0; }

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

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