| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 163863 | beso123 | Karte (COCI15_karte) | C++14 | 2 ms | 384 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>
#define int long long
using namespace std;
string s;
map <string,int> mp;
map <char,int> ch;
main(){
cin>>s;
for(int k=0;k<s.size();k+=3){
    string a;
    a+=s[k];
    a+=s[k+1];
    a+=s[k+2];
    if(mp[a]==1){
        cout<<"GRESKA";
        return 0;
    }
    mp[a]=1;
    ch[a[0]]++;
}
cout<<13-ch['P']<<' '<<13-ch['K']<<' '<<13-ch['H']<<' '<<13-ch['T'];
return 0;
}
Compilation message (stderr)
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
