摘要:
#include <stdio.h> #include <stdlib.h> int main() { int arr[101]; int n,i; int flag = 1001; scanf("%d",&n); for(i=0;i<n;i++) { scanf("%d",&arr[i]); if 阅读全文
摘要:
#include <stdio.h> #include <stdlib.h> int cti(char c) { int num = 100; if(c=='0') num = 0; else if(c=='1') num = 1; else if(c=='2') num = 2; else if( 阅读全文
摘要:
#include<iostream> using namespace std; /* class Base1{ }; class Base2{ }; class Base3{ }; class Derived: public Base1,public Base2,public Base3 { }; 阅读全文
摘要:
#include<stdio.h> int main() { int a[] = { 23,4,7,3,9,1,0 }; int n = 7,temp; for(int i =1;i<n;i++) for (int j = 0; j < n - i; j++) { if (a[j] > a[j + 阅读全文