Submission #213304


Source Code Expand

Copy
#include <bits/stdc++.h>
using namespace std;

void i(){
    cout << getchar() - 'A' + 1 << endl;



}




void s(){string s,t,u; cin >> s >> t >> u;


    string str = s + t + u;

    int ans = 0;
    for(char c : str){
        ans += c == '@';
    }

    cout << ans << endl;
}


int main(){

1

?i():s();}

Submission Info

Submission Time
Task A - A
User eha
Language C++11 (GCC 4.8.1)
Score 100
Code Size 309 Byte
Status AC
Exec Time 21 ms
Memory 804 KB

Judge Result

Set Name all
Score / Max Score 100 / 100
Status
AC × 5
Set Name Test Cases
all A.txt, B.txt, C.txt, D.txt, E.txt
Case Name Status Exec Time Memory
A.txt AC 20 ms 796 KB
B.txt AC 21 ms 804 KB
C.txt AC 21 ms 804 KB
D.txt AC 20 ms 800 KB
E.txt AC 20 ms 800 KB