摘要:
第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++) 阅读全文
摘要:
#include <stdio.h> int gcd(int a, int b) { if (a % b == 0) { return b; } else { return gcd(b, a % b); } } int main() { int num1, num2; printf("Enter f 阅读全文
摘要:
#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 下列的( )不是C语言合法的标识符。 A) main B) define C) sqrt D) const E) Long F) β G) delta H) __LINE_NO__ I) sizeof J) type K) msgNo L) last name M) 3xg N) _3xg O 阅读全文
摘要:
题目 #include<iostream> #include<string> #include<map> #include<algorithm> using namespace std; struct stu { string id; int place; int score; int rank; 阅读全文