#include<stdlib.h> #include<ncurses,h> #define plane '*' char plane(int x,int y); int main() { int x = 5; int y = 10; char ch; initscr(); cbreak(); no ...
分类:
其他好文 时间:
2021-01-16 11:44:00
阅读次数:
0
使用前记得复制要发送的内容哦 1 #include<stdio.h> 2 #include<Windows.h> 3 4 int main(){ 5 int n; 6 char name[100]; 7 printf("请输入你要轰炸的对象:\n"); 8 scanf("%s",name); 9 p ...
分类:
编程语言 时间:
2021-01-15 12:11:40
阅读次数:
0
源码及汇编码 func.c源码 #include <stdio.h> int func(int a, int b) { a = 100; b = 200; printf("Hello%d\n", a); return 0; } int main(int argc, char *argv[]) { f ...
分类:
系统相关 时间:
2021-01-15 12:10:52
阅读次数:
0
#include<bits/stdc++.h> using namespace std; const long long mod=1e9+7; const long long mod2 = 1e8+7; const long long N =1e6+10; void in(long long &x) ...
分类:
其他好文 时间:
2021-01-15 12:03:41
阅读次数:
0
A - Biorhythms 题目链接 #include <iostream> #include <cstring> #include <algorithm> #include <cstdio> using namespace std; int main() { int cnt = 1; while ...
分类:
其他好文 时间:
2021-01-15 11:49:12
阅读次数:
0
Qt中打开文件对话框和保存文件对话框 效果图:单击打开按钮弹出打开文件对话框。 单击保存按钮,打开保存位置对话框 首先,UI窗口布局,添加两个按钮和一个多行文本框,为打开按钮和保存按钮添加事件处理函数。 #pragma once #include <QtWidgets/QMainWindow> #i ...
分类:
其他好文 时间:
2021-01-14 11:03:55
阅读次数:
0
#include<bits/stdc++.h> using namespace std; #define lson l,m,rt<<1 #define rson m+1,r,rt<<1|1 #define rush! ios::sync_with_stdio(false);cin.tie(0); c ...
分类:
其他好文 时间:
2021-01-13 11:33:41
阅读次数:
0
思路:维护一个K大小的最小堆,堆顶就是最小的元素,新元素都比堆顶小,当堆中元素个数小于K时,直接进入堆,当堆顶小于新元素时,弹出堆顶,新元素加入堆。 #include <iostream> #include <vector> #include <queue> using namespace std; ...
分类:
其他好文 时间:
2021-01-13 11:29:41
阅读次数:
0
#include <iostream> #include <stack> using namespace std; class GetMinStack{ public: void push(int x); void pop(); int top(); int getmin(); private: s ...
分类:
其他好文 时间:
2021-01-13 11:27:28
阅读次数:
0
nvGRAPH三角形计数示例 #include “ stdlib.h” #include“ inttypes.h” #include“ stdio.h” #include“ nvgraph.h” #define check( a )\ {\ nvgraphStatus_t status =(a); ...
分类:
其他好文 时间:
2021-01-13 11:23:13
阅读次数:
0