/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 1ms 320.0 KiB
#2 Accepted 1ms 580.0 KiB
#3 Accepted 2ms 584.0 KiB

Code

/**
 *  Author: AhSaN (JUST-22)
 *  Created: 06-09-2024  07:55:59
**/
#include <bits/stdc++.h>

#pragma GCC optimize("Ofast")
using namespace std;

void Sol(int Cs) {
  string s;
  cin >> s;
  cout << s[0] << "\n";
  
}

signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int Tc = 1;
  cin >> Tc;
  for (int Cs = 1; Cs <= Tc; Cs++) {
    Sol(Cs);
  }
  return 0;
}

Information

Submit By
Type
Submission
Problem
P1080 String Algorithm
Language
C++20 (G++ 13.2.0)
Submit At
2024-09-06 02:56:29
Judged At
2024-11-11 02:57:01
Judged By
Score
100
Total Time
2ms
Peak Memory
584.0 KiB