結果
問題 | No.1642 Registration |
ユーザー |
|
提出日時 | 2021-08-13 21:22:10 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 426 bytes |
コンパイル時間 | 933 ms |
コンパイル使用メモリ | 92,112 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-03 16:47:43 |
合計ジャッジ時間 | 1,425 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
#include <iostream>#include <string>#include <algorithm>#include <vector>#include <iomanip>#include <cmath>#include <stdio.h>#include <queue>#include <deque>#include <cstdio>#include <set>#include <map>#include <bitset>#include <stack>#include <cctype>using namespace std;int main() {string s = "00", n;cin >> n;s += n;for (int i = s.size() - 3; i < s.size(); i++) {cout << s[i];}cout << endl;}