码迷,mamicode.com
首页 >  
搜索关键字:direct path write temp    ( 55479个结果)
FZU2155 盟国
Problem Description 题目链接 世界上存在着N个国家,简单起见,编号从0~N-1,假如a国和b国是盟国,b国和c国是盟国,那么a国和c国也是盟国。另外每个国家都有权宣布退盟(注意,退盟后还可以再结盟)。 定义下面两个操作: “M X Y” :X国和Y国结盟 “S X” :X国宣布退 ...
分类:其他好文   时间:2020-04-17 12:47:40    阅读次数:75
Selenium---Python3---上传文件
#上传文件使用send_keys方法添加本地文件 <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <title>upload_file</title> <script type="t ...
分类:编程语言   时间:2020-04-17 12:47:06    阅读次数:86
XCTF-shrine
shrine 直接看题 进来给了个python代码 这里用到了 函数,应该是ssti漏洞,和 "这道题" 类似 限制:过滤了 ,和关键字 目标: 这几个过滤,我想不出有什么方法可以bypass,然后看了这篇 "write up" paylod: payload可行,但是里面还是有 关键字??? 然后 ...
分类:其他好文   时间:2020-04-17 12:27:20    阅读次数:171
go写一个简单的文件修改监听
logger文件 package src import ( "fmt" "os" "path/filepath" "strings" "sync" "time" ) type File struct { sync.RWMutex // 文件名 fileName string suffix strin ...
分类:其他好文   时间:2020-04-17 11:03:24    阅读次数:101
[Wpf学习] 1.传说中的Main
原来的C#程序都有Main的,现在用vs新建一个Wpf项目,启动似乎变成App.xmal,前期项目中为了获取启动参数,很是折腾了一番: 1.先是修改App.xaml,添加StartUp事件 <Application x:Class="YKMain.App" xmlns="http://schemas ...
分类:Windows程序   时间:2020-04-17 09:52:03    阅读次数:81
[刷题] 70 Climbing Stairs
要求 楼梯共有n个台阶,每次上一个台阶或两个台阶,一共有多少种上楼梯的方法? 示例 输入:n=3 [1,1,1],[1,2,],[2,1] 输出:n=3 实现 自顶向下(递归) 递归 1 class Solution { 2 3 private: 4 int calcWays(int n){ 5 6 ...
分类:其他好文   时间:2020-04-17 09:40:31    阅读次数:59
获取当前程序执行目录
使用_getcwd() std::string getModulePath() { bool flag = false; std::string myStr; const int iLength = 1024; char ModulePath[iLength] = { 0 }; char* path ...
分类:其他好文   时间:2020-04-17 09:23:54    阅读次数:66
Java中的快速排序算法
public static void quicksort(int[] array,int low,int high) { if(low > high) { return; } int i=low; int j=high; int temp = array[low];//temp就是基准位 while ...
分类:编程语言   时间:2020-04-17 09:23:24    阅读次数:64
LintCode-1-A+B使用位运算实现
描述 给出两个整数 a 和 b , 求他们的和。 1 int aplusb(int a, int b) { 2 // write your code here 3 int _a=0,_b=0; 4 while((a&b) != 0) //判断是否有进位影响 5 { 6 7 _a=a^b; //不带进 ...
分类:其他好文   时间:2020-04-17 00:37:01    阅读次数:58
操作系统第3次实验报告:管道
毛琳淇 201821121007 计算1811 1. 编写程序 在服务器上用Vim编写程序:创建一个命名管道,创建两个进程分别对管道进行读fifo_read.c和写fifo_write.c。给出源代码。 fifo_read.c #include<stdio.h> #include<string.h> ...
分类:其他好文   时间:2020-04-17 00:08:56    阅读次数:81
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!