合集-暂存
摘要:#include<stdio.h> double dfs(double n, double n1, double n2, double x) { if (n < (n1 + x) && n< (n2 + x)&& n >0 ) return n; double ret1 = dfs(n - (n1
阅读全文
摘要:#include<iostream> #include<string> using namespace std; const int N = 10010; //A 65 0 int a[N]; string v[510]; int Hash(const int* Key, int TableSize
阅读全文
摘要:第1题(教材第10章“编程练习”的第3题): #include <stdio.h> #define N 110 int a[N]; int main() { int maxx = -10000; int n; scanf("%d", &n); for (int i = 0; i < n; i++)
阅读全文
摘要:c++能通过,c wrong #include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n; while (cin >> n) { vector<int> odd,
阅读全文
摘要:#include<iostream> #include<cstring> #include<algorithm> #include<queue> using namespace std; typedef pair<int, int>PII; const int N = 110; int n, m;
阅读全文
摘要:#include<stdio.h> #include<stdlib.h> #include<string.h> #include<ctype.h> #define inf 0x3f3f3f typedef struct { char id[50]; char name[50]; char gende
阅读全文
摘要:define _CRT_SECURE_NO_WARNINGS include<stdio.h> include<SDL.h> include<SDL_ttf.h> include<SDL_image.h> include using namespace std; int main(int argc,
阅读全文