openjudge-2的100次方阶乘
2024-10-19 02:19:39
开始进行的第一天
#include <stdio.h> #include <string.h>
int main()
{
int n;
scanf("%d",&n);
if(n==)
printf("");
int sun[];
memset(sun,,sizeof(sun));
sun[]=;
while(n--)
{
for(int i=; i<; i++)
{
sun[i]*=;
if(sun[i]>=)
{
sun[i]=sun[i]%;
sun[i-]++;
}
}
}
int flag=;
for(int i=; i<; i++)
{
if(sun[i]!=)
flag=;
if(flag==)
printf("%d",sun[i]);
}
return ;
}
最新文章
- 三言两语之微信小程序开发初体验(1)
- [iOS][issis] requestLocationWithReGeocode AMapLocationErrorDomain Code=5 ";取消";
- HDU 1556 Color the ball(线段树区间更新)
- 简单C语言文法
- H5中的拖拽事件
- fildder 使用方法汇总
- iOS阶段学习第28天笔记(UIView的介绍)
- tomcat 支持ssi功能配置
- 【转】Hadoop web页面的授权设定
- 谷歌验证 (Google Authenticator) 的实现原理是什么?
- socket编程实现HTTP请求
- PHP+MySQL开发技术详解—学习笔记
- 下载xcode 6 beta.dmg
- 一种基于Qt的可伸缩的全异步C/S架构server实现(一) 综述
- [转]Building a Basic Fuzzer with GDB: The Five Minute GDB Scripting Tutorial
- Gitlab使用Webhook实现Push代码自动部署
- new Date()传参的浏览器兼容性
- 基于 HTML5 的 WebGL 楼宇自控 3D 可视化监控
- 【原创】研发应该懂的binlog知识(下)
- 【代码笔记】Web-HTML-框架
热门文章
- $Self~Problem~C~:~Samsara$
- CSU - 2059 Water Problem(Z线分割平面)
- Entity Freamwork CodeFirst 连接PostgreSql数据库
- js取整、四舍五入等数学函数
- Oracle 左连接(+)加号用法及常用语法之间的关系
- plsql误删除数据,提交事务后如何找回?
- 大专生自学iOS到找到工作的前前后后
- chromium之observer_list
- VMware10安装CentOS7
- ethereum(以太坊)(实例)--";安全的远程购买";