Accepted
Code
#include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while(t--)
{
string s;
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-09-06 12:25:13
- Judged At
- 2024-11-11 02:56:20
- Judged By
- Score
- 100
- Total Time
- 3ms
- Peak Memory
- 576.0 KiB