Submission

Status:

[-SSSSSSSSS]

Subtask/Task Score:

{0/100}

Score: 0

User: Nasmo

Problemset: ตรวจบัตรเครดิต

Language: cpp

Time: 0.002 second

Submitted On: 2026-10-03 09:14:46

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

int main(){
    string s;
    cin >> s;
    cout << s;
/*
    char m = s.back();
    int target = m -'0';
    s.pop_back();

    reverse(s.begin(), s.end());

    string str = "";

    cout << s;
*/
/*    for(int i=0;i<s.size();i++){
        int d = s[i] - '0';

        if(i%2==0){
            d = (d*2);
        }
        str += to_string(d);
    }
    cout << str ;
*/
/*
    int R=0;
    for (char c : m){
        R += c - '0';
    }

    int cal = (10 - (R%10))%10;

    if (cal == target){
        cout << "Yes";
    }
    else{
        cout << "No";
    }
*/
}