結果
| 問題 | No.1415 100の倍数かつ正整数(1) | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-03-05 23:09:22 | 
| 言語 | C++17(clang) (17.0.6 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 691 bytes | 
| コンパイル時間 | 2,326 ms | 
| コンパイル使用メモリ | 160,508 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-10-07 04:41:52 | 
| 合計ジャッジ時間 | 2,951 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 24 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define int ll
#define endl '\n'
#define pii pair<int , int>
#define _FastIO ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
#define pb push_back
#define pii pair<int , int>
#define F first
#define S second
#define M_PI 3.14159265358979323846
const int mod = 1000000007;
const int MAXX = 1e6 + 5;
string s;
signed main()
{
    _FastIO;
    cin >> s;
    if(s[0] == '-'){
        cout << "0" << endl;
        return 0;
    }
    int n = s.size();
    if(n < 3){
        cout << "0" << endl;
        return 0;
    }
    for(int i = 0; i < (n - 2); i++){
        cout << s[i];
    }
    cout << endl;
    return 0;
}
            
            
            
        