提交时间:2024-08-19 14:26:03
运行 ID: 166437
#include <bits/stdc++.h> using namespace std; int main() { int p,q,r,b=0; cin>>p>>q>>r; if(p*q==r) cout<<max(r,max(p,q))+1; else cout<<"0"; }