陌路寒暄

  • 笔记
  • WEB
  • 随笔
  • 访客墙
  • 友情链接
  • 关于
code
OJ

How many Fibs?

Recall the definition of the Fibonacci numbers: <br><pre>f1 := 1 <br>f2 := 2 <br>fn := f<sub>n-1</sub> + f<sub>n-2</sub> (n&gt;=3) </pre> <br>Given two numbers a and b, calculate how many Fibonacc…

2020年1月17日 0条评论 1265点热度 0人点赞 code 阅读全文
OJ

Counting

Gustavo knows how to count, but he is just now learning how to write numbers. He has already learned the digits 1, 2, 3, and 4. But he does not yet realize that 4 is different than 1, so he thinks that 4 is just another way to write 1. He is having fun with a …

2020年1月17日 0条评论 1591点热度 0人点赞 code 阅读全文
OJ

The Stern-Brocot Number System

The <em>Stern-Brocot tree</em> is a beautiful way for constructing the set of all non-negative fractions <span class="MATH"><img src="/admin/../upload/pimg1532_1.png" alt="$ {m \over n}$" align="MIDDLE" border="0" height="25" width="17">…

2020年1月17日 0条评论 1026点热度 0人点赞 code 阅读全文
OJ

Polynomial coefficients

<p>This problem seeks the coefficients resulting from the expansion of the polynomial</p> <p align="justify"></p> <div align="CENTER" class="mathdisplay"><i>P</i> = (<i>x</i><sub>1</sub> + <i…

2020年1月17日 0条评论 1165点热度 0人点赞 code 阅读全文
OJ

Ones

Given any integer 0 &lt;= n &lt;= 10000 not divisible by 2 or 5, some multiple of n is a number which in decimal notation is a sequence of 1's. How many digits are in the smallest such a multiple of n?

2020年1月17日 0条评论 1417点热度 0人点赞 code 阅读全文
OJ

A multiplication game

Stan and Ollie play the game of multiplication by multiplying an integer p by one of the numbers 2 to 9. Stan always starts with p = 1, does his multiplication, then Ollie multiplies the number, then Stan, and so on. Before a game starts, they draw an integer …

2020年1月17日 0条评论 991点热度 0人点赞 code 阅读全文
1…233234235236237…290

jlqwer

当前 -人在线,共打开 -个页面

最新 热点 随机
最新 热点 随机
Ubuntu24.04更换源地址(新版源更换方式) Ubuntu下PHP安装imagick拓展报错 悬浮窗计时器组件 Ubuntu 重启后 ufw状态变为inactive问题 悬浮窗倒计时组件 linux下去除不可见字符“&;#65279”
Ubuntu24.04更换源地址(新版源更换方式)
悬浮窗计时器组件 title 移动Ubuntu左侧的状态栏到屏幕底部 Ubuntu Apache 切换到php-fpm+mpm_event模式 certbot 申请泛域名证书 html js 动态魔方
友情链接
  • 诗酒趁年华 诗酒趁年华
  • 深海小涛 深海小涛
  • 简忆博客 简忆博客
  • 简忆工具箱 简忆工具箱
  • 援军 援军
  • 搜索引擎蜘蛛鉴别 搜索引擎蜘蛛鉴别
  • Aidea资讯脉动 Aidea资讯脉动
  • 搜索引擎蜘蛛IP大全
  • 翔哥奇思妙想 翔哥奇思妙想
  • Caid Blog Caid Blog
  • 范明明 范明明
  • 老董 老董
  • 千千 千千

COPYRIGHT © 2025 陌路寒暄. ALL RIGHTS RESERVED. Theme Kratos Made By Seaton Jiang

鲁公网安备 37131202371478号 | 鲁ICP备16042736号-4 | doNotClick