|  | 
|  | 
| back to board | 05580 с++ #include <iostream>
 using namespace std;
 
 int main()
 {
 int n, x=2;
 cin>>n;
 x += n;
 while(n--)
 {
 string s;
 cin >> s;
 for(int i=0; i<s.size(); i++)
 {
 if(s[i]=='+')
 {
 x++;
 }
 }
 }
 if(x!=13)   cout << 100*x<< endl;
 else            cout << 100*(x+1) << endl;
 
 
 return 0;
 }
 
 Edited by author 25.03.2022 06:15
 
 Edited by author 25.03.2022 06:15
 | 
 | 
|