码迷,mamicode.com
首页 >  
搜索关键字:ati    ( 26493个结果
java中什么是Yield给出一个例子
iiiii)Yield的用法马克-to-win:yield英文是屈服投降的意思。 当前线程投降就是当前线程希望释放CPU的自己的占用权,( 但系统可以忽略它这个请求。)参见: https://docs.oracle.com/javase/7/docs/api/java/lang/Thread.htm ...
分类:编程语言   时间:2021-04-09 13:31:33    阅读次数:0
实验2
text.1 x1, y1=1.2, 3.57 x2, y2=2.26, 8.7 print('{:-^40}'.format('输出1')) print('x1={}, y1 ={}'.format(x1, y1)) print('x2={}, y2 ={}'.format(x2,y2)) pri ...
分类:其他好文   时间:2021-04-09 13:25:16    阅读次数:0
子数组的取值范围-贪心算法
Description 给定数组arr和整数num,求arr的连续子数组中满足:其最大值减去最小值的结果大于num的个数。请实现一个时间复杂度为O(length(arr))的算法。 Input 输入第一行为测试用例个数。每一个用例有若干行,第一行为数组,每一个数用空格隔开,第二行为num。 Outp ...
分类:编程语言   时间:2021-04-09 13:23:00    阅读次数:0
JavaScript 获取视频时长的时分秒
function getDuration(value,dateFormat){ let hour = parseInt((value) / 3600); if (hour<10) {//时 hour = "0" + hour; } var minute = parseInt((value % 360 ...
分类:编程语言   时间:2021-04-09 13:03:38    阅读次数:0
vue阻止事件冒泡和默认事件
原生js取消事件冒泡 try{ e.stopPropagation(); // 非IE浏览器 } catch(e){ window.event.cancelBubble = true; // IE浏览器 } 原生js阻止默认事件 if ( e && e.preventDefault ) { e.pr ...
分类:其他好文   时间:2021-04-08 13:55:27    阅读次数:0
const 小知识点(二): 修改const修饰的变量会怎样?
当const修饰全局变量时,修改它会怎么样? 看如下代码: 1 #include <iostream> 2 using namespace std; 3 4 const double a = 10.5; 5 6 int main() { 7 double* p = const_cast<double ...
分类:其他好文   时间:2021-04-08 13:49:55    阅读次数:0
java中的volatile关键字
参考: https://baijiahao.baidu.com/s?id=1595669808533077617&wfr=spider&for=pc https://www.cnblogs.com/ustc-anmin/p/11434769.html ...
分类:编程语言   时间:2021-04-08 13:46:45    阅读次数:0
sql注入
sql报错注入 1.报错函数 (1).floor()报错 语句: ?id=1' union select 1,count(),concat(payload,floor(rand(0)2))x from information_schema.columns group by x --+ (2).upd ...
分类:数据库   时间:2021-04-08 13:32:03    阅读次数:0
pat甲级 1027 Colors in Mars
题目:People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, w ...
分类:其他好文   时间:2021-04-08 13:28:06    阅读次数:0
数据拓展 面试拓展??
public class Demo04 { public static void main(String[] args) { //整数拓展 二进制0b 八进制0 十进制 十六进制0x int i1=10; int i2=010; int i3=0x11; System.out.println(i1) ...
分类:其他好文   时间:2021-04-08 13:03:44    阅读次数:0
26493条   上一页 1 ... 27 28 29 30 31 ... 2650 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!