Submission #201092


Source Code Expand

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

void i(){int a,b,c,d,e,f,g; cin >> a >> b >> c >> d >> e >> f >> g;



    cout << b << " " << a << 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 - スワップ
User eha
Language C++11 (GCC 4.8.1)
Score 100
Code Size 361 Byte
Status AC
Exec Time 24 ms
Memory 928 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 6
Set Name Test Cases
All test_13_69.txt, test_16_44.txt, test_40_40.txt, test_49_31.txt, test_51_74.txt, test_83_60.txt
Case Name Status Exec Time Memory
sample_01.txt AC 23 ms 800 KB
sample_02.txt AC 21 ms 800 KB
test_13_69.txt AC 20 ms 792 KB
test_16_44.txt AC 22 ms 912 KB
test_40_40.txt AC 24 ms 776 KB
test_49_31.txt AC 21 ms 924 KB
test_51_74.txt AC 21 ms 792 KB
test_83_60.txt AC 21 ms 928 KB