結果
| 問題 |
No.1415 100の倍数かつ正整数(1)
|
| コンテスト | |
| ユーザー |
warm4C0
|
| 提出日時 | 2024-05-25 11:04:40 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 286 bytes |
| コンパイル時間 | 2,944 ms |
| コンパイル使用メモリ | 244,824 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-20 19:39:10 |
| 合計ジャッジ時間 | 3,993 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 WA * 1 |
ソースコード
#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;
}
warm4C0