結果
問題 |
No.1329 Square Sqsq
|
ユーザー |
|
提出日時 | 2021-01-13 23:33:11 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 250 bytes |
コンパイル時間 | 1,502 ms |
コンパイル使用メモリ | 165,700 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-22 20:17:25 |
合計ジャッジ時間 | 2,414 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 WA * 14 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) typedef long long ll; int main() { string s; cin >> s; int n = s.size(); if (n <= 2) cout << 1 << endl; else cout << n / 2 + 1 << endl; }