# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
88711 | AntonioDaki | Bridž (COCI17_bridz) | C++14 | 3 ms | 880 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
int main()
{
ios::sync_with_stdio(0);
cin.tie(0);
long long n, m = 0;
cin >> n;
string s;
for(long i = 0; i < n; ++i){
cin >> s;
for(int j = 0; j < 13; ++j){
if(s[j] == 65) m += 4;
if(s[j] == 75) m += 3;
if(s[j] == 81) m += 2;
if(s[j] == 74) m += 1;
}
}
cout << m;
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |