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
- Pretest
- Problem
- P1080 String Algorithm
- Language
- C++20 (G++ 13.2.0)
- Submit At
- 2024-08-19 20:21:32
- Judged At
- 2024-11-11 03:07:13
- Judged By
- Score
- 10
- Total Time
- 1ms
- Peak Memory
- 532.0 KiB