Submission #1233789


Source Code Expand

Copy
#include <bits/stdc++.h>
#define REP(i,n,N) for(int i=(n);i<(int)N;i++)
#define p(s) cout<<(s)<<endl
#define ck(n,a,b) (a)<=(n)&&(n)<(b)
typedef long long ll;
using namespace std;
const int inf=1e9;

int main() {
	string a="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
	string s1,s2,s3;
	cin>>s1>>s2>>s3;
	cout<<a[s1[0]-'a'];
	cout<<a[s2[0]-'a'];
	cout<<a[s3[0]-'a'];
	return 0;
}

Submission Info

Submission Time
Task A - Three-letter acronym
User uwfdai
Language C++14 (GCC 5.4.1)
Score 100
Code Size 382 Byte
Status
Exec Time 1 ms
Memory 256 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 00-00.txt, 00-01.txt, 00-02.txt, 00-03.txt
All 100 / 100 00-00.txt, 00-01.txt, 00-02.txt, 00-03.txt, 01-00.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt
Case Name Status Exec Time Memory
00-00.txt 1 ms 256 KB
00-01.txt 1 ms 256 KB
00-02.txt 1 ms 256 KB
00-03.txt 1 ms 256 KB
01-00.txt 1 ms 256 KB
01-01.txt 1 ms 256 KB
01-02.txt 1 ms 256 KB
01-03.txt 1 ms 256 KB
01-04.txt 1 ms 256 KB
01-05.txt 1 ms 256 KB
01-06.txt 1 ms 256 KB