山东智趣岛论坛

标题: 2063 [打印本页]

作者: liuzixuan    时间: 2023-12-9 14:51
标题: 2063
[C++] 纯文本查看 复制代码
#include<iostream>
using namespace std;
int main(){
    int m1,n1,m2,n2,x;            
    m1=15;
    n1=20;
    m2=20;
    n2=10;
    x=(m1*n1-m2*n2)/(n1-n2);
        cout<<x;
}






欢迎光临 山东智趣岛论坛 (https://abc.sdzqd.com/) Powered by Discuz! X3.3