
笔试题
Chan_Keh
https://github.com/chankeh
展开
-
乘法表
2016年百度笔试题 #include <iostream> using namespace std; typedef long long int64; // int64(LL): 64位整型数, 即long long的别称int64 m,n,k; int64 cal(int64 x) // 计算比x小的数的个数 { int64 sum=0; for(int i=1;i<=n原创 2017-08-21 15:15:49 · 304 阅读 · 0 评论 -
编号转换
#include <iostream> #include <stdlib.h> #include <vector> #include <string> #include <cctype> using namespace std; bool isrc(string &s) { if(s.size()<2) return false; if(!(s[0]=='R'&&isdigit(s原创 2017-08-21 21:49:42 · 393 阅读 · 0 评论