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:46
- Judged At
- 2024-11-11 03:14:31
- Judged By
- Score
- 10
- Total Time
- 1ms
- Peak Memory
- 764.0 KiB