摘要:
include include using namespace std; int getFriendNum(int a) { int sum = 0; while (a) { int b = a % 10; a = a / 10; sum += b; } return sum; } int main 阅读全文
摘要:
include include using namespace std; typedef struct { int score;//该题分数 int num;//选项个数 int right;//正确选项个数 string str="";//正确选项 }question[100]; int main 阅读全文
摘要:
include include include using namespace std; define N 10002 typedef struct { string name; int height; }node,human[N]; bool compare(node x, node y) {// 阅读全文
摘要:
参考博客:https://blog.csdn.net/hy971216/article/details/80653566 阅读全文