- 博客(13)
- 资源 (14)
- 收藏
- 关注
原创 【PAT甲级】1007. Maximum Subsequence Sum (25)
#include <stdio.h>int main(int argc, char *argv[]) { int k; scanf("%d", &k); int a[k]; int maxsum[k]; int from[k]; int i; for (i = 0; i < k; i++) { scanf("%d", &a[i]
2016-09-30 15:01:58 195
原创 【PAT甲级】1013. Battle Over Cities (25)
#include <stdio.h>#include <string.h>int v[1001][1001] = {0};int w[1001] = {0};int n, m, k;void markMatrix(int a, int from, int count) { int j, k; for (k = 1; k <= n; k++) { if (k ==
2016-09-30 01:43:58 254
原创 【PAT甲级】1012. The Best Rank (25)
#include <stdio.h>void findBestCourse(int s[][5], int n, int i, int &o1, char &o2); char map[5] = {' ', 'A', 'C', 'M', 'E'};int main(int argc, char *argv[]) { int n, m; int i, j, k; scanf(
2016-09-29 22:47:56 223
原创 【PAT甲级】1009. Product of Polynomials (25)
#include <stdio.h>#include <string.h>int main(int argc, char *argv[]) { int k, n, i, j; double d; double a1[1001] = {0.0}; double a[2001] = {0.0}; scanf("%d", &k); for (i = 0; i < k; i++)
2016-09-29 18:52:38 239 1
原创 【PAT甲级】1010. Radix (25)
注:在进行十进制转换时,每一步都应当判断溢出。#include <stdio.h>#include <string.h>#include <cmath>long long getDecimal(char a[], int radix); int getDigit(char c);int findRadix(char N[], long long low, long long high);i
2016-09-29 18:48:20 305
原创 【PAT甲级】1011. World Cup Betting (20)
#include <stdio.h>int findMax(float a[]);int main(int argc, char* argv[]) { float a[3][3]; int i, j; for (i = 0; i < 3; i++) { for (j = 0; j < 3; j++) { scanf("%f", &a[i][j]); }
2016-09-29 17:20:55 243
原创 【PAT甲级】1008. Elevator (20)
#include <iostream>#include <stdio.h>#include <string.h>using namespace std;int main(int argc, char *argv[]) { int n, i; cin >> n; int a[n]; for (i = 0; i < n; i++) { cin >> a
2016-09-27 17:34:12 224
原创 【PAT甲级】1006. Sign In and Sign Out (25)
#include <iostream>#include <stdio.h>#include <string.h>#include <string>using namespace std;typedef struct per { char ID[16]; int inTime; int outTime;} per;int main(int argc, char *ar
2016-09-26 18:54:01 275
原创 【PAT甲级】1005. Spell It Right (20)
#include <iostream>#include <stdio.h>#include <string.h>#include <math.h>using namespace std;int main(int argc, char *argv[]) { char input[101]; int i, x; int sum = 0; cin >> input;
2016-09-26 16:00:27 243
原创 【PAT甲级】1004. Counting Leaves (30)
#include <iostream>#include <stdio.h>#include <string.h>using namespace std;typedef struct Node{ int leftchild; int rightsibling;}Node, *tree;void traverse(Node *tree, int id, int h, int &ma
2016-09-26 15:23:43 189
原创 【PAT甲级】1003. Emergency (25)
#include <iostream>#include <stdio.h>#include <string.h>using namespace std;int main(int argc, char *argv[]) { int MAX = 99999999; int n, m, c1, c2; cin >> n >> m >> c1 >> c2; int v[n
2016-09-25 17:48:55 235
原创 【PAT甲级】1002. A+B for Polynomials (25)
#include <iostream>#include <string.h>#include <stdio.h>using namespace std;int main(int argc, char *argv[]) { int n = 0; int cnt = 0; int i = 0; int j = 0; int nx; float anx
2016-09-23 13:48:12 298
原创 【PAT甲级】1001. A+B Format (20)
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl
2016-09-23 11:34:47 255
【pdf kindle打包】Naked Statistics Stripping the Dread From the Data
2018-12-05
ESL英文版+中文版+答案 The Elements of Statistical Learning 统计学习基础
2018-05-28
Scikit-learn Cookbook.pdf 英文版 + 中文版
2018-05-14
Pattern Recognition And Machine Learning英文+中文+完整答案 模式识别与机器学习
2018-05-07
Pattern Recognition and Machine Learning 模式识别与机器学习 中文版
2018-05-07
Introduction to Scorecard for FICO Model Builder 英文
2018-04-16
The Little SAS Book for Enterprise Guide 4.2 英文版
2018-04-11
动态规划:从新手到专家 Hawstein
2016-10-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人