首页 > 其他分享 >10.27.2

10.27.2

时间:2022-10-27 21:32:14浏览次数:55  
标签:return 10.27 int llu long printf include

#include<stdio.h>

#include<math.h>  


int main(){

int a;

unsigned long long b,c;

scanf("%d%llu%llu",&a,&b,&c);

printf("%d\n",(b-a)/(c-1));

printf("%llu",c*(a+b)/2);

 

 

 

 

return 0;

标签:return,10.27,int,llu,long,printf,include
From: https://blog.51cto.com/u_15758636/5801961

相关文章

  • 10.27.3
    #include<stdio.h>#include<math.h>intmain(){ inta,b; scanf("%d%d",&a,&b); printf("%d%d%d%d",b%10,a/10,b/10,a%10); return0;}......
  • 10.27.4
    #include<stdio.h>#include<math.h>intmain(){/* inta,b,c,d; scanf("%d,%d\n%d,%d",&a,&b,&c,&d); printf("%.1f",sqrt(pow(a-c,2)+pow(b-d,2)));*/ doublea,......
  • 10.27.5
    #include<stdio.h>#include<math.h>intmain(){/* inta,b,c,d; scanf("%d,%d\n%d,%d",&a,&b,&c,&d); printf("%.1f",sqrt(pow(a-c,2)+pow(b-d,2)));*/ doublea,......
  • 10.27
    今日内容1.hashlib加密模块2.加密模块补充3.subprocess模块4.logging日志模块5.日志的组成6.日志配字典1.hashlib加密模块1.何为加密将明文数据处理成密文数据......
  • 【闲话】2022.10.27
    啊,离CSP第二轮不远了(悲虽然退不了役,但还是有点在意的以及谁帮帮我调一下这个啊本机一直对,CF一直T孩子人都傻了今天考试就是A每写YES,无了幸亏B稍微骗了20分,没爆零......
  • 算法学习日记10.27
    第一章基础算法(一)上课:理解算法主要思想课后:理解代码模板并且能够快速默写用题目检验重复3-5次就能很好的提升熟练度排序快速排序基于分治思想确定分界点:q[l] ......
  • 2022.10.27每日一题
    DaimayuanOnlineJudge-跳跳题目描述平面上给定了一些整点(横纵坐标均为整数的点),被称为“魔法阵”。魔法少女派派想要在各魔法阵之间传送,每一次传送,她将使用下面的方式:......