/ SeriousOJ /

Record Detail

Time Exceeded


  
# Status Time Cost Memory Cost
#1 Time Exceeded ≥1040ms ≥34.863 MiB
#2 Wrong Answer 2ms 520.0 KiB

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-11-11 03:18:38
Judged By
Score
0
Total Time
≥1040ms
Peak Memory
≥34.863 MiB