11 2023 档案
校园充值系统
摘要:#include <bits/stdc++.h> using namespace std; struct card { //属性 string name; int id; string classroom; float money; int money_type;//0人民币 1美元 2 泰铢 st
阅读全文
四则混合运算
摘要:#include <iostream> #include<stack> #include<deque> #include<string> using namespace std; //C++混合四则运算 int pri(char c)//标识运算符优先级 { switch(c) { case '+'
阅读全文
五子棋2.0
摘要:#include <iostream> #include <iomanip> using namespace std; int row=16; int col=16; bool black=true; int all[17][17]; void F5(){ for(int ii=0;ii<=col;
阅读全文
地盘划分(递归)
摘要:#include<iostream> #include<algorithm> #include<cstdio> using namespace std; long long a,b,c,s=0; int main(){ scanf("%lld",&a); scanf("%lld",&b); whil
阅读全文
文件流
摘要:#include <fstream> #include <iostream> using namespace std; int main(){ char data[10000]; cin>>data; cout<<data; ofstream wangyianbo; wangyianbo.open(
阅读全文