제출 #1091333

#제출 시각아이디문제언어결과실행 시간메모리
1091333Trisanu_DasSolar Storm (NOI20_solarstorm)C++17
0 / 100
72 ms13396 KiB
#include<bits/stdc++.h> using namespace std; signed main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int n, s, k; cin >> n >> s >> k; int d[n - 1], v[n]; for(int i = 0; i < n - 1; i++) cin >> d[i]; for(int i = 0; i < n; i++) cin >> v[i]; cout << "1\n"; if(2 * k + 1 > n) cout << k + 1 << '\n'; else cout << n / 2 << '\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...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...