摘要:
1 Farmer John's N (\(1\le N\le 5\cdot 10^5\)) cows are standing in a line, with cow 1 at the front of the line and cow N at the back of the line. FJ's 阅读全文
摘要:
24.10.10 hw4 1 C A C B CB 2 int temp[N*M],s[N*M]; void sort(int l,int r){ if(l==r) return; int mid=(l+r)/2; sort(l,mid); sort(mid+1,r); int i=l,j=mid+ 阅读全文
摘要:
2024 09 25 hw3 1 C 2.5 1 AD 2 int check(char *str){ int sum = 0; for(char *c=str; *c; c = c+1){ if(*c == 'I'){ sum = sum+1; } else{ sum = sum-1; } if( 阅读全文