Code
#include <iostream>
#include <string>
using namespace std;
int main()
{
int t;
string s;
cin>>t;
for(int i=0;i<t;i++)
{
cin>>s;
cout<<s[0]<<endl;
}
return 0;
}
Information
- Submit By
- Type
- Pretest
- Problem
- P1080 String Algorithm
- Language
- C++20 (G++ 13.2.0)
- Submit At
- 2024-08-16 16:36:54
- Judged At
- 2024-11-11 03:14:30
- Judged By
- Score
- 0
- Total Time
- 1ms
- Peak Memory
- 532.0 KiB