結果

問題 No.1415 100の倍数かつ正整数(1)
ユーザー sorag
提出日時 2022-08-01 10:45:16
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 275 bytes
コンパイル時間 570 ms
コンパイル使用メモリ 74,248 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-21 23:11:29
合計ジャッジ時間 1,727 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21 WA * 1 RE * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<map>
using namespace std;
int main() {
	int cnt=0;
	string n,m;
	cin >> n;
	if (n[0] == '-') cout << 0 << endl;
	else {
		m = n.erase(n.length() - 2);
		cout << m << endl;
	}
		
	
	return 0;
}
0