結果
問題 |
No.1415 100の倍数かつ正整数(1)
|
ユーザー |
![]() |
提出日時 | 2024-05-25 11:06:23 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 287 bytes |
コンパイル時間 | 3,196 ms |
コンパイル使用メモリ | 243,948 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-20 19:39:14 |
合計ジャッジ時間 | 4,084 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string x; cin >> x; if (x[0] == '-') { puts("0"); return 0; } if (x.size() <= 2) { puts("0"); return 0; } cout << x.substr(0, x.size()-2) << endl; return 0; }