結果
問題 |
No.1415 100の倍数かつ正整数(1)
|
ユーザー |
![]() |
提出日時 | 2024-01-09 12:31:57 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 280 bytes |
コンパイル時間 | 593 ms |
コンパイル使用メモリ | 66,176 KB |
最終ジャッジ日時 | 2025-02-18 16:42:15 |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 WA * 3 |
ソースコード
#include <iostream> #include <cassert> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string N; cin >> N; if (N[0] == '-') { cout << 0 << endl; } else { N.pop_back(); N.pop_back(); cout << N << endl; } return 0; }