正文
增加 5 行删除 5 行
23 行未改动2425262728293031326 行未改动39404142434445464734 行未改动828384858687888990140 行未改动全部展开23123223323423523623723823919 行未改动25926026126226326426526626756 行未改动23 行未改动cnt += i.second / 2 ;//除以二:求对数}cout << cnt / 2 ;return 0 ;}```# 第二题6 行未改动```cpp#include <bits/stdc++.h>using namespace std ;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] != '.'){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 行未改动23 行未改动2425262728293031326 行未改动39404142434445464734 行未改动828384858687888990140 行未改动全部展开23123223323423523623723823919 行未改动25926026126226326426526626756 行未改动23 行未改动cnt += i.second / 2 ;//除以二:求对数}cout << cnt / 2 ;return 0 ;}```# 第二题6 行未改动```cpp#include <bits/stdc++.h>using namespace std ;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] != '.'){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 行未改动