签到题,搞清楚A和P的定义即可
#include <bits/stdc++.h> using namespace std; int main() { int A, P; cin >> A >> P; cout << (A * 3 + P) / 2; return 0; }
By signing up a 龙樾实验中学 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 龙樾实验中学 universal account