关于 编号 1101 题目的一些疑问。 摘要: 这个题目 需要 使用 大数乘法, 然后保留结果 后 k 位的反复操作来求得循环节。 我下面的代码仅仅只能通过 91% 的数据,于是我去网上找了一个正确的来对拍 , 发现 输入 87 5 …… 文章列表 2018年12月17日 1 点赞 1 评论 208 浏览 评分:0.0
续上篇-回答同学的问题:C++输入输出流优化---番外篇 摘要:上一篇文章: https://blog.dotcpp.com/a/56701#blogdis2868 我大致介绍了一下C++中的一些输入输出流的优化,这个技巧在算法竞赛中蛮实用的,可以帮…… 文章列表 2018年12月26日 3 点赞 0 评论 1015 浏览 评分:0.0
自己编译一下看走不走得出去 摘要:#include <stdio.h>#include <conio.h>#include <windows.h>#include <time.h>#define Height 1001#define …… 文章列表 2018年12月30日 2 点赞 0 评论 555 浏览 评分:0.0
问题 1046: C语言程序设计教程(第三版)课后习题10.4 摘要:#include<iostream> using namespace std; int main() { int *a=new int[1000]; int m,n; …… 文章列表 2019年01月06日 0 点赞 0 评论 613 浏览 评分:0.0
问题 1000: 简单的a+b 摘要:#include<stdio.h> int main() { int a,b,c; while(scanf("%d %d",&a,&b)==2) { c=a+b; …… 文章列表 2019年01月06日 0 点赞 0 评论 434 浏览 评分:0.0
问题 1005: C语言程序设计教程(第三版)课后习题4.9 摘要:#include<stdio.h>int main(){ float c,f; scanf("%f",&f); c=5*(f-32)/9; printf("c=%.2f",c); return 0;}…… 文章列表 2019年01月06日 0 点赞 0 评论 457 浏览 评分:0.0
问题 1006: C语言程序设计教程(第三版)课后习题5.4 摘要:#include<cstdio> #include<algorithm> using namespace std; int main() { int i,a[10]; for(i=0;i<3;i+…… 文章列表 2019年01月06日 0 点赞 0 评论 508 浏览 评分:0.0
问题 1007: C语言程序设计教程(第三版)课后习题5.5 摘要:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); if(x<1) y=x; else if(x>=1&&x<10) y=2*x-1; else…… 文章列表 2019年01月06日 0 点赞 0 评论 461 浏览 评分:0.0
问题 1008: C语言程序设计教程(第三版)课后习题5.6 摘要:#include<stdio.h>int main(){int score,i; scanf("%d",&score);i= score/10; switch( i ){ c…… 文章列表 2019年01月06日 0 点赞 0 评论 428 浏览 评分:0.0
问题 1009: C语言程序设计教程(第三版)课后习题5.7 摘要:#include<cstdio>#include<iostream>using namespace std;int main(){ int a[5]; int i,n,count=0; ci…… 文章列表 2019年01月06日 3 点赞 0 评论 676 浏览 评分:0.0