求助,679三个点WA了

P1001 A+B Problem

JordanPoole_3 @ 2022-08-23 20:54:08

#include<bits/stdc++.h> 
using namespace std;
int a,b;
int main()
{
   cin>>a>>b;
   cout<<(int)((pow(max(a,b),2)-pow(min(a,b),2))/(max(a,b)-min(a,b)));
}

by cmz9690 @ 2022-08-26 18:36:44

@longzexiaolin 啊对对对


by User700176 @ 2022-08-27 09:30:52

A+B Problem

 #include<bits/stdc++.h>
 using namespace std;
 int main(){
    int a,b;
    cin>>a>>b;
    cout<<a+b;
    return 0;
 }

by 209u03 @ 2022-08-29 10:44:15

@jiangjihang 哈哈哈


by zxh101019 @ 2022-08-30 10:50:29

#include<bits/stdc++.h>
signed main(){int a,b;std::cin>>a>>b;std::cout<<a+b;return 0;}

极致压缩


by 荒泷一斗 @ 2022-09-03 17:47:22

@JordanPoole_3

刺?全名叫啥,我可能和你是一家人


by wanghengyu1007 @ 2022-09-04 18:33:32

a+b


by Jin_Yichen @ 2022-09-06 20:49:27

你确定int有10的9次方吗


by zhouqingyang @ 2022-09-10 20:22:53

emmmmmm 就一个A+B至于弄这么复杂吗???


by tommmy @ 2022-09-23 18:49:36

#include <iostream>
using namespace std;
int main() {
    int a, b;
    cin >> a >> b;
    cout << a + b;
    return 0;
}

by tommmy @ 2022-09-23 18:50:01

#include <iostream>
using namespace std;
int main() {
    int a, b;
    cin >> a >> b;
    cout << a + b;
    return 0;
}

@JordanPoole_3


上一页 | 下一页