求解释》

题目总版

Qcrkkl @ 2024-09-15 15:24:11

这个题坑在哪

 #include<bits/stdc++.h>
using namespace std;
int main()
{
    long long  a,b;
    cin>>a>>b;
    if (a<0) printf("(%I64d)",a);
    else printf("%I64d",a);
    printf("+");
    if (b<0) printf("(%I64d)",b);
    else printf("%I64d",b);
    long long xyg=a+b;
    if (xyg<0) printf("=(%I64d)",xyg);
    else printf("=%I64d",xyg);
    return 0;
}

by wangcm @ 2024-09-15 16:35:45

有不懂的看这里


by Qcrkkl @ 2024-09-15 16:47:14

@wangcm 已关111


by wangcm @ 2024-09-15 19:10:33

@Qcrkkl thank you!


上一页 |