C的题解
2025-07-19 12:27:17
发布于:浙江
1阅读
0回复
0点赞
如果使用printf的小盆友,记得多加一个%。
//#include <windows.h>
#include<bits/stdc++.h>
#include<ctime>
#include<cstdio>
//#include <thread>
using namespace std;
typedef long long ll;
typedef double d;
typedef unsigned long long ull;
typedef char ch;
typedef string str;
typedef const ll coll;
const ll N=1e7+5;
ll a=4396,b=2200;
signed main()
{
printf("%lld+%lld=%lld\n",a,b,a+b);
printf("%lld-%lld=%lld\n",a,b,a-b);
printf("%lld*%lld=%lld\n",a,b,a*b);
printf("%lld/%lld=%lld\n",a,b,a/b);
printf("%lld%%%lld=%lld\n",a,b,a%b);
return 0;
}
这里空空如也
有帮助,赞一个