[projecteuler]Multiples of 3 and 5
来源:互联网 发布:海马玩安卓模拟器 mac 编辑:程序博客网 时间:2024/04/29 09:09
题目:http://projecteuler.net/problem=1
代码:
#include <stdio.h>int main(){int i;int count = 0;for(i=1; i<1000; i++){if(i%3 == 0 || i%5 == 0)count += i;}printf("%d\n", count);return 0;}
0 0
- [projecteuler]Multiples of 3 and 5
- projecteuler.net 1--Multiples of 3 and 5
- Multiples of 3 and 5
- Multiples of 3 and 5
- Multiples of 3 and 5
- Multiples of 3 and 5
- Multiples of 3 and 5
- Problem 1:Multiples of 3 and 5
- PE 1 Multiples of 3 and 5
- Problem1(Multiples of 3 and 5)
- Problem 1 Multiples of 3 and 5
- 【Project Euler】【Problem 1】Multiples of 3 and 5
- 【欧拉计划1】Multiples of 3 and 5
- (Problem 1)Multiples of 3 and 5
- [Project Euler]Problem 1:Multiples of 3 and 5
- Project Euler #1: Multiples of 3 and 5
- 欧拉计划(1)Multiples of 3 and 5
- [欧拉计划]Problem 1.Multiples of 3 and 5
- Seam pages.xml(一篇很好的英文文章)
- 最理想的饮茶器具是什么
- 字符集问题
- 金格office控件在js中对vba的操作
- 撒旦阿斯达
- [projecteuler]Multiples of 3 and 5
- Android获取Manifest中<meta-data>元素的值
- ActiveX 暴漏你所有信息的可怕的插件!
- 初学者VIM配置
- 用户互动功能,微信商城系统
- perl源码分析
- 版本控制基础知识
- YUV的基础
- 第8周作业1——类与对象练习之TV