結果
| 問題 |
No.552 十分簡単な星1の問題
|
| ユーザー |
gotutiyan
|
| 提出日時 | 2017-09-28 23:23:43 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 317 bytes |
| コンパイル時間 | 582 ms |
| コンパイル使用メモリ | 68,224 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-15 18:26:16 |
| 合計ジャッジ時間 | 1,941 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 47 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
int max(int a, int b) {
int x = (a > b) ? a : b;
return x;
}
int min(int a, int b) {
int x = (a < b) ? a : b;
return x;
}
int main() {
string s;
cin >> s;
if(s!="0")cout << s;
cout << 0 << endl;
return 0;
}
gotutiyan