1 2 3 4 5 ··· 22 下一页
摘要: 自幂数,也称Armstrong数,是指一个 n 位数,它的每个位上的数字的n 次幂之和等于它本身。 要求程序输入一个正整数m(m≤1000000),按照指定格式输出m以内所有的自幂数。 解答: #include<stdio.h> typedef long long ll; ll qpower(ll 阅读全文
posted @ 2021-12-03 14:21 LightAc 阅读(624) 评论(0) 推荐(0) 编辑
摘要: {{IGEM_TopBar}} {{OUC-R}} Welcome to iGEM 2021! Your team has been approved and you are ready to start the iGEM season! Before you start Please read t 阅读全文
posted @ 2021-08-12 11:16 LightAc 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 首先安装官方插件如下图: 选择如下方式: 按照右边代码进行配置。 注意细节有两个: 以上两个细节如果没有完成,很容易造成配置失败。如还有问题可以qq联系(1171613053) 阅读全文
posted @ 2021-07-18 12:25 LightAc 阅读(293) 评论(1) 推荐(0) 编辑
摘要: 基于 Transformers 高分变率图像的合成 摘要: 为了设计学习序列的数据的长期交互作用,transformers继续在各种各样的任务中显示着最先进的成果。与CNN相比,他们不包含优先考虑本地交互的归纳偏差(CNN有考虑?体现在哪里?)这使得他们富于表现力,但在计算上也不适合与长序列,比如高 阅读全文
posted @ 2021-07-17 22:37 LightAc 阅读(587) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-05-04 18:09 LightAc 阅读(0) 评论(0) 推荐(0) 编辑
摘要: POJ3264 /* 算法过程: 1.构建线段树 2.在线段树中插入数据 3.对线段树进行更新(该题无更新操作)和查询 */ #include <cstdio> #include <algorithm> using namespace std; const int INF = 0xffffff0; 阅读全文
posted @ 2021-04-17 09:57 LightAc 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 反转链表 #include <iostream> #include<bits/stdc++.h> using namespace std; //单链表的结构 struct ListNode { int val; ListNode *next; // 初始化方法 ListNode() : val(0) 阅读全文
posted @ 2021-03-25 19:19 LightAc 阅读(48) 评论(0) 推荐(0) 编辑
摘要: A. #include <bits/stdc++.h> using namespace std; typedef long long ll; int main () { ll k; cin >> k; ll x, y, p, q; cin >> x >> y >> p >> q; if(x == p 阅读全文
posted @ 2021-03-15 11:27 LightAc 阅读(58) 评论(0) 推荐(0) 编辑
摘要: A.一道模拟题 #include <bits/stdc++.h> using namespace std; typedef long long ll; int main () { int T; cin >> T; while(T--) { int n; cin >> n; std::vector<l 阅读全文
posted @ 2021-03-14 11:19 LightAc 阅读(89) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; int main () { int t; cin >> t; while(t--) { int n, k; cin >> n >> k; string s; cin >> s; if(k == 0) { cou 阅读全文
posted @ 2021-03-10 23:11 LightAc 阅读(103) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 22 下一页
返回顶端