山有木兮木有枝OZ
山有木兮木有枝OZ
全部文章
题解
归档
标签
去牛客网
登录
/
注册
山有木兮木有枝OZ的博客
全部文章
/ 题解
(共19篇)
题解 | #剩下的树#
#include <iostream> using namespace std; int main(){ int L; cin>>L; int M; cin>>M; int trees[10001]; for(in...
C++
2022-02-08
0
322
题解 | #日期类#
#include <iostream> #include <iomanip> using namespace std; int daytable[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}; class Date{ pu...
C++
2022-02-07
0
430
题解 | #Day of Week#
#include <iostream> #include <cstring> using namespace std; string months[12]{ "January","February","March","April","May","June","Jul...
C++
2022-02-07
0
360
题解 | #日期累加#
#include <iostream> #include <iomanip> using namespace std; int daytable[2][13]{ {0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,2...
C++
2022-02-07
0
416
题解 | #打印日期#
#include <iostream> #include <iomanip> using namespace std; int daytable[2][13]{ {0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,2...
C++
2022-02-07
0
418
题解 | #今年的第几天?#
#include <iostream> using namespace std; int daytable[2][13]={ {0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,29,31,30,31,30,31,31,30,3...
C++
2022-02-07
0
343
题解 | #Hello World for U#
#include <iostream> #include <cstring> using namespace std; int main(){ while(1){ string str; getline(cin,str); ...
C++
2022-02-07
0
320
题解 | #Repeater#
#include <iostream> using namespace std; void recursion(char *p1[],char *templt[],int n,int &p1length){ char *p2[3000]; //定义一个暂存图形的变量 ...
C++
2022-02-06
0
384
题解 | #Old Bill#
#include <iostream> using namespace std; int main(){ int n,x,y,z; int sum; while(cin>>n && cin>>x>>y>&...
C++
2022-02-03
0
304
首页
上一页
1
2
下一页
末页