题解:P15287 「YLLOI-R3-T2」霍元甲 lyhlyh888 · 2026-02-12 19:20:24 · 题解 水题 本人因时间不够,没完赛("▔□▔) 不开long long不会见祖宗。 #include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n<=2){ cout<<-1; }else{ cout<<(n+1)/2; } return 0; }