摘要:
题目链接:https://nanti.jisuanke.com/t/31716解题思路:具体的规律可以通过打表的形式,推出第n个值的答案是 2的(n-1)次方。然后再就是看数据范围,10的十万次方,这玩意long long绝对存不了,所以需要考虑别的情况。首先想到的是... 阅读全文
摘要:
例题(简单):http://acm.sdut.edu.cn/onlinejudge2/index.php/Home/Index/problemdetail/pid/1132.html代码:#include#include#include#include#include... 阅读全文
摘要:
例题(简单):http://acm.sdut.edu.cn/onlinejudge2/index.php/Home/Index/problemdetail/pid/1132.html代码:#include#include#include#include#include... 阅读全文
摘要:
题目链接:https://cn.vjudge.net/contest/254150#problem/Fwa代码:#include#include#include#include#include#include#include#includeusing namespac... 阅读全文
摘要:
题目链接:https://cn.vjudge.net/contest/254150#problem/Fwa代码:#include#include#include#include#include#include#include#includeusing namespac... 阅读全文