제출 #582602

#제출 시각아이디문제언어결과실행 시간메모리
582602amunduzbaevTriangles (CEOI18_tri)C++17
0 / 100
1 ms340 KiB
#include "trilib.h" //~ #ifndef EVAL //~ #include "trilib.c" //~ #endif #include "bits/stdc++.h" using namespace std; #define ar array typedef int64_t ll; vector<int> Sort(int l, int r){ if(l == r) return {l}; int m = (l + r) >> 1; auto lx = Sort(l, m), rx = Sort(m + 1, r); vector<int> res = lx; res.insert(res.end(), rx.begin(), rx.end()); return res; } signed main(){ //~ ios::sync_with_stdio(0); cin.tie(0); int n = get_n(); //~ vector<int> p = Sort(2, n); give_answer(1); }

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

tri.cpp: In function 'int main()':
tri.cpp:25:6: warning: unused variable 'n' [-Wunused-variable]
   25 |  int n = get_n();
      |      ^
#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...