点点滴滴”

导航

2014年7月27日 #

初次见识结构体与map的区别

摘要: 题目 http://vjudge.net/contest/view.action?cid=51142#problem/G自己做的结构体#include #include #include #include using namespace std;struct Name{ char name[35];... 阅读全文

posted @ 2014-07-27 13:19 点点滴滴” 阅读(1088) 评论(0) 推荐(0) 编辑

http://vjudge.net/contest/view.action?cid=51142#problem/C 精度转换的一道题。。。

摘要: C - Get-Together at Den's Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice URAL 1864DescriptionAdvertising f... 阅读全文

posted @ 2014-07-27 09:54 点点滴滴” 阅读(2478) 评论(0) 推荐(0) 编辑

double float的精度问题

摘要: 三部曲1: #include #include #include using namespace std; int main() { double a=0.0001; float b=0.1; int c=(int)(a*1000)/b; cout #inclu... 阅读全文

posted @ 2014-07-27 09:01 点点滴滴” 阅读(1338) 评论(0) 推荐(0) 编辑