码迷,mamicode.com
首页 >  
搜索关键字:ace    ( 20173个结果
二叉树遍历
1.1、先序遍历 根结点-左子树-右子树 // 指针 void preorder(node* root) { if(root==NULL) return; //空树,递归边界 printf("%d\n",root->data); preoder(root->lchild); preoder(root ...
分类:其他好文   时间:2021-02-09 12:23:21    阅读次数:0
【Android】从gitclub下载的源码,运行提示> Failed to apply plugin [id 'com.github.dcendents.android-maven']
Ps:假期想做一个3d球体的相册,在网上搜索源码,定位到一个抽象出来的3dTagCloudAndroid技术。下载到本地,想在手机端运行遇到个报错,记录下。 Ps:开源库地址:https://github.com/misakuo/3dTagCloudAndroid 首先:本地克隆代码,后会自动加载依 ...
分类:移动开发   时间:2021-02-09 12:16:21    阅读次数:0
Saruman's Army
#include<cstdio> #include<iostream> #include<set> #include<algorithm> using namespace std; set<int> s; int main(void) { int R, n; while (cin >> R >> n ...
分类:其他好文   时间:2021-02-08 12:52:08    阅读次数:0
2.5 上海马拉松 C题题解
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef double db; ll a, b, c, d; void solve1() { if (a > 0) { puts("(-inf,inf)"); ...
分类:其他好文   时间:2021-02-08 12:05:36    阅读次数:0
[Codeforces 1438B]Valerii Against Everyone
文章中若有不严谨或错误的地方,欢迎在评论中指出QAQ Description 题库链接 有两个长度为 \(n\) 的数组分别为 \(a,b\) ,其中 \(a_i = 2^{b_i}\) ,现给出b数组,问是否存在两个 \(a\) 的子数组,它们的区间和相同,若有则输出 "YES",否则输出 "NO ...
分类:其他好文   时间:2021-02-08 11:48:50    阅读次数:0
你不知道正则那些事(js版 面向年轻人🔞)
日常开发中我们经常会遇到表单验证呀,关键字搜索呀,字符替换呀,还有面试笔试中都可能会用到,接下来,我想自己总结一下我接触过的前端正则的那些事 平常写代码,无非就是[0-9],[a-z],[A-Z],\w,\d,.,+,*,?,^,$ 但是这些有可能只是做像表单验证或者简单的替换,如果想来点不一样st ...
分类:Web程序   时间:2021-02-06 12:00:16    阅读次数:0
nodejs vm+ babel ast 实现类似cube.js schema 的处理能力
很简单主要是学习下cube.js 关于schema 的特殊处理了解下原理 以下部分代码参考了cube.js compiler 部分 参考项目 package.json { "name": "vm-scripts", "version": "1.0.0", "main": "index.js", "l ...
分类:Web程序   时间:2021-02-05 10:48:25    阅读次数:0
P3708 koishi的数学题
题目链接 题意分析 \(\sum_{i=1}^nx\%i=\sum_{i=1}^n(x-\lfloor\frac{x}{i}\rfloor i)=nx-\sum_{i=1}^n\lfloor\frac{x}{i}\rfloor i\) 想到了整除分块 这样的话复杂度$O(n\sqrt)$ 但是由于$ ...
分类:其他好文   时间:2021-02-05 10:33:30    阅读次数:0
重写定义Spring Boot FeignClient 捕获异常信息
FeignClient 默认的解析器: public static FeignException errorStatus(String methodKey, Response response) { // 这里做了处理 String message = format("status %s readi ...
分类:编程语言   时间:2021-02-03 11:08:33    阅读次数:0
基于 spring boot 下logback 的 logback-spring.xml 配置文件
true UTF-8 %d{yyyy-MM-dd HH:mm:ss.SSS} %highlight(%-5level) %magenta([PID:${PID:-}]) %green([%15.15thread]) %cyan(%40.40logger:%-5.5L):%msg%n ${PATH}/ ...
分类:编程语言   时间:2021-02-03 11:07:10    阅读次数:0
20173条   上一页 1 ... 24 25 26 27 28 ... 2018 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!