結果
問題 | No.1415 100の倍数かつ正整数(1) |
ユーザー |
|
提出日時 | 2023-08-13 10:53:21 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 544 bytes |
コンパイル時間 | 1,781 ms |
コンパイル使用メモリ | 168,372 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-21 05:14:41 |
合計ジャッジ時間 | 2,494 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 WA * 11 |
ソースコード
#include <bits/stdc++.h>using namespace std;using ll = long long;using llu = long long unsigned;vector<ll> dx = { 0, 0, -1, 1};vector<ll> dy = {-1, 1, 0, 0};#define MOD 1000000007int main() {string N;cin >> N;if (N[0]=='-') {cout << "0" << endl;} else {if (N.size()>3) {cout << N[0];for (int i=1; i<N.size()-2; i++) {cout << "0";}cout << endl;} else {cout << "0" << endl;}}return 0;}