結果
| 問題 | No.1415 100の倍数かつ正整数(1) |
| コンテスト | |
| ユーザー |
沙耶花
|
| 提出日時 | 2021-03-05 21:23:26 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 403 bytes |
| 記録 | |
| コンパイル時間 | 2,869 ms |
| コンパイル使用メモリ | 272,952 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-18 11:43:59 |
| 合計ジャッジ時間 | 3,790 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
ソースコード
#include <stdio.h>
#include <atcoder/all>
#include <bits/stdc++.h>
using namespace std;
using namespace atcoder;
using mint = modint998244353;
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define Inf 1000000001
int main(){
string s;
cin>>s;
if(s[0]=='-')cout<<0<<endl;
else{
if(s.size()<=2)cout<<0<<endl;
else{
s.pop_back();
s.pop_back();
cout<<s<<endl;
}
}
return 0;
}
沙耶花