上一页 1 ··· 315 316 317 318 319 320 321 322 323 ··· 622 下一页

2021年12月6日

摘要: #include <iostream> using namespace std; #define X abc #define V(X) X #define S(X) V(X)##xyz #define VAL S(X) int main() { // int VAL; cout << VAL << 阅读全文
posted @ 2021-12-06 20:28 lydstory 阅读(52) 评论(0) 推荐(0)
摘要: RPA 流程自动化 阅读全文
posted @ 2021-12-06 09:01 lydstory 阅读(39) 评论(0) 推荐(0)
摘要: 一道也没做出来 出租车计费问题 排序求和 链表路径 阅读全文
posted @ 2021-12-06 07:09 lydstory 阅读(160) 评论(0) 推荐(0)

2021年12月2日

摘要: #include<stdio.h> #include<stdlib.h> #include<string.h> int main() { char a[10050]; char b[10050]; char sum[10051]; while(scanf("%s",a)!=EOF) { int fl 阅读全文
posted @ 2021-12-02 16:28 lydstory 阅读(41) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <string.h> #define MAXLEN 500 int acsciinum(const char* str) { int len = strlen(str); if(len > MAXLEN) return -1; int ret[ 阅读全文
posted @ 2021-12-02 15:57 lydstory 阅读(91) 评论(0) 推荐(0)
摘要: cout<<ans.size()<<endl; for(auto a:ans) cout<<a<<endl; cout<<ans.size()<<endl; for(auto a:ans) cout<<a<<endl; 阅读全文
posted @ 2021-12-02 15:10 lydstory 阅读(101) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> using namespace std; bool isuupper(char c){ return (c>='A'&&c<='Z'); } int main(){ string s; while(getline(cin, 阅读全文
posted @ 2021-12-02 14:46 lydstory 阅读(38) 评论(0) 推荐(0)
摘要: #include <iostream> #include <string> using namespace std; #include <stdio.h> #include <memory.h> #define MAXLEN 250 int largelettersize(const char* s 阅读全文
posted @ 2021-12-02 14:19 lydstory 阅读(152) 评论(0) 推荐(0)
摘要: #include <iostream> #include <string> using namespace std; #include <stdio.h> #include <memory.h> #define MAXLEN 250 int largelettersize(const char* s 阅读全文
posted @ 2021-12-02 14:12 lydstory 阅读(15) 评论(0) 推荐(0)
摘要: 4. getline()(包含头文件#include <string>) 若定义变量为string类型,注意不是字符型数组。则要考虑getline()函数。用法如下: int main() { string st; getline(cin,st); cout<<st<<endl; return0; 阅读全文
posted @ 2021-12-02 13:59 lydstory 阅读(124) 评论(0) 推荐(0)
上一页 1 ··· 315 316 317 318 319 320 321 322 323 ··· 622 下一页

导航