Accepted
Code
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
string s;
while (t-- && cin >> s)
{
cout << s[0] << "\n";
}
}
Information
- Submit By
- Type
- Submission
- Problem
- P1080 String Algorithm
- Language
- C++20 (G++ 13.2.0)
- Submit At
- 2024-08-19 20:21:36
- Judged At
- 2024-11-11 03:07:12
- Judged By
- Score
- 100
- Total Time
- 3ms
- Peak Memory
- 580.0 KiB