結果
問題 | No.1415 100の倍数かつ正整数(1) |
ユーザー |
|
提出日時 | 2021-03-05 21:26:27 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 1,067 bytes |
コンパイル時間 | 851 ms |
コンパイル使用メモリ | 80,436 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-07 00:25:05 |
合計ジャッジ時間 | 1,494 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
//#include <bits/stdc++.h>>#include <iostream>#include <cmath>#include <string>#include <algorithm>#include <set>#include <vector>#include <map>#include <list>#include <stack>#include <bitset>#include <cstdio>#include <cstring>#include <cstdlib>#include <queue>#define pt(sth) cout << sth << "\n"using namespace std;//#include <atcoder/all>//using namespace atcoder;typedef long long ll;typedef pair<ll, ll> pll;template<class T>bool chmax(T &a, const T &b) {if(a<b) {a=b; return 1;} return 0;}template<class T>bool chmin(T &a, const T &b) {if(b<a) {a=b; return 1;} return 0;}static const ll INF=1e18;static const ll MAX=101010;static const ll MOD=1e9+7;//static const ll MOD=998244353;//for(i=0;i<N;i++) cin>>a[i];typedef vector<vector<vector<ll>>> v3D;typedef vector<vector<ll>> v2D;typedef vector<ll> v1D;int main(void) {ll i, j, k;string s;cin>>s;if(s[0]=='-'){pt(0);return 0;}else{if(s.size()<=2){pt(0);}else{pt(s.substr(0,(ll)s.size()-2));}}}