Submission

Status:

P----PPP--

Subtask/Task Score:

40/100

Score: 40

User: Some1258

Problemset: ตัวอักษรตัวแรกในคำ

Language: cpp

Time: 0.003 second

Submitted On: 2026-07-20 08:58:34

#include<bits/stdc++.h>
using namespace std;
int main(){
    string x;
    cin>>x;
    char ea=x[0];
    for(int i=1;i<x.length();i++){
        ea=min(x[i],ea);
    }
    cout<<ea;

}