摘要:```cpp#includestruct { int a,b,c}stu[1000];int main () { int n,sum; std::cin >> n; for(int i = 0;i > stu[i].a >> stu[i].b >>stu[i].c; for(int i = 0;i < n;i ++){ for(int j = 0;j <... 阅读全文
posted @ 2020-05-16 09:04 SD!LTF 阅读(153) 评论(1) 推荐(0) 编辑
摘要:```cpp#include int main(){ int a[100],n,sum = 0; std::cin >> n; for(int i = 0;i > a[i]; for(int i = 0;i < n;i ++){ for(int j = 0;j < i;j ++)if(a[j] < a[i]) sum ++; std::cout << ... 阅读全文
posted @ 2020-05-16 08:36 SD!LTF 阅读(64) 评论(0) 推荐(0) 编辑