版本比较
10月10日 总结
正文
增加 5 行删除 5 行
23 行未改动242526272828293031326 行未改动3940414243434445464734 行未改动82838485868687888990140 行未改动全部展开23123223323423523523623723823919 行未改动25926026126226326326426526626756 行未改动23 行未改动 cnt += i.second / 2 ;//除以二:求对数 } cout << cnt / 2 ;return 0 ; } }```
# 第二题6 行未改动
```cpp#include <bits/stdc++.h>using namespace std ;map <char , int> mp ; map <char , int> mp ;int main(){ string s ; cin >> s ;34 行未改动 if(x == cnt1) cout << "chest" ; else if(x == cnt2) cout << "biceps" ; else cout << "back" ;return 0 ; } }```
无错因140 行未改动全部展开 for(int i = 1 ; i <= n ; i++) { for(int j = 1 ; j <= m ; j++) { if(a[i][j] != '.') if(a[i][j] != '.') { cnt = 0 ; bool f = false ; for(int k = i ; k >= 1 ; k--)19 行未改动 if(a[i][k] != '.' && a[i][k] != a[i][j]) f = true ; } if(f == true) cnt++ ; if(cnt <= 1) sum++ ;
} } } cout << sum ;56 行未改动