結果
問題 | No.1329 Square Sqsq |
ユーザー |
![]() |
提出日時 | 2021-01-08 23:33:00 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 2,000 ms |
コード長 | 192 bytes |
コンパイル時間 | 504 ms |
コンパイル使用メモリ | 69,964 KB |
最終ジャッジ日時 | 2025-01-17 14:44:10 |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
#include <algorithm>#include <iostream>#include <string>int main() {std::string N;std::cin >> N;std::cout << std::max(1, static_cast<int>(N.size() + 1) / 2) << std::endl;}