/ SeriousOJ /

Record Detail

Time Exceeded


  
# Status Time Cost Memory Cost
#1 Time Exceeded ≥1013ms ≥38.281 MiB
#2 Time Exceeded ≥1061ms ≥38.918 MiB
#3 Time Exceeded ≥1057ms ≥39.707 MiB

Code

//Bismillah
 
#include<bits/stdc++.h>
using namespace std;

#define int long long 
typedef long long ll;
typedef vector<int> vi;
typedef pair<int,int> pii;
 
#define PB push_back
#define F first
#define S second
#define endl '\n'
#define all(a) (a).begin(),(a).end()
#define sz(x) (int)x.size()
#define mx_int_prime 999999937
 
const double PI = acos(-1);
const double eps = 1e-9;
const int inf = 2000000000;
const ll infLL = 9000000000000000000;
#define MOD 1000000007
  
#define optimize() ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define file() freopen("input.txt","r",stdin);freopen("output.txt","w",stdout);

signed main()
{
    optimize();
    #ifndef ONLINE_JUDGE
    file();
    #endif

    int t;
    string st;
    cin>>t;
    while(t--){
        cin>>st;
        cout<<st[0]<<endl;
    }

    return 0;
}
 

Information

Submit By
Type
Submission
Problem
P1080 String Algorithm
Contest
Bangladesh 2.0
Language
C++11 (G++ 13.2.0)
Submit At
2024-08-16 15:36:19
Judged At
2024-10-03 13:31:08
Judged By
Score
0
Total Time
≥1061ms
Peak Memory
≥39.707 MiB