結果
| 問題 | No.1415 100の倍数かつ正整数(1) | 
| コンテスト | |
| ユーザー |  Ryuki87241978 | 
| 提出日時 | 2022-02-23 21:21:02 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 891 bytes | 
| コンパイル時間 | 2,320 ms | 
| コンパイル使用メモリ | 193,088 KB | 
| 最終ジャッジ日時 | 2025-01-28 01:31:43 | 
| ジャッジサーバーID (参考情報) | judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 23 WA * 1 | 
ソースコード
#include <bits/stdc++.h>
#include <vector>
#include <iostream>
#include <map>
#include <string>
#include <cmath>
#include <algorithm>
#include <queue>
#include<math.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repe(i,x,n) for(int i=x; i<(n); ++i)
using ll = long long;
using P = pair<int, int>;
#define pai 3.1415926535897932384
#define INF 100100100
#define _GLIBCXX_DEBUG
#define All(a) (a).begin(),(a).end()
#define rAll(a) (a).rbegin(),(a).rend()
#define divide 998244353
int main() {
    
    string S;
    cin >> S;
    if(S[0] == '-') {
        cout << 0 << endl;
        return 0;
    }
    int N = S.size();
    if(N==1) {
        cout << 0 << endl;
        return 0;
    }
    rep(i,N-2) {
        if(i==0) {
            cout << S[i];
        }
        else {
            cout << S[i];
        }
    }
    cout << endl;
    return 0;
    
}
            
            
            
        