結果
問題 |
No.1415 100の倍数かつ正整数(1)
|
ユーザー |
|
提出日時 | 2021-09-03 11:49:10 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 229 bytes |
コンパイル時間 | 1,939 ms |
コンパイル使用メモリ | 188,660 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-14 16:24:47 |
合計ジャッジ時間 | 2,837 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 WA * 3 |
ソースコード
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; int main() { string N; cin >> N; if(N[0] == '-') cout << 0 << endl; else if((int)N.size() >= 3){ cout << N.substr(0, (int)N.size()-2) << endl; } }