結果
| 問題 | No.552 十分簡単な星1の問題 |
| コンテスト | |
| ユーザー |
dgd1724
|
| 提出日時 | 2017-08-12 09:29:20 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 321µs | |
| コード長 | 327 bytes |
| 記録 | |
| コンパイル時間 | 340 ms |
| コンパイル使用メモリ | 83,092 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-15 09:33:41 |
| 合計ジャッジ時間 | 2,383 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 47 |
ソースコード
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
int main(void) {
//std::ifstream inf("Text.txt"); std::cin.rdbuf(inf.rdbuf());
std::string S;
std::cin >> S;
if (S[0] == '0') {
std::cout << S << std::endl;
}
else {
std::cout << S + '0' << std::endl;
}
return 0;
}
dgd1724