結果
問題 |
No.1415 100の倍数かつ正整数(1)
|
ユーザー |
![]() |
提出日時 | 2021-03-06 00:13:45 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 490 bytes |
コンパイル時間 | 1,485 ms |
コンパイル使用メモリ | 166,476 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-07 06:35:01 |
合計ジャッジ時間 | 2,236 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 WA * 2 |
ソースコード
#include <algorithm> #include <bits/stdc++.h> using namespace std; using ll=long long; bool chmin(int& a, int b){ if(a > b){ a = b; return 1; } return 0; } bool chmax(int& a, int b){ if(a < b){ a = b; return 1; } return 0; } constexpr ll TEN(int n) { return (n == 0) ? 1 : 10 * TEN(n - 1); } const ll MOD = 1000000007LL; int main() { string N; cin >> N; string ans = "0"; if (N[0] != '-') ans = N.substr(0, N.size()-2); cout << ans << endl; return 0; }