結果
問題 |
No.1329 Square Sqsq
|
ユーザー |
![]() |
提出日時 | 2020-09-18 05:13:10 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 267 bytes |
コンパイル時間 | 1,598 ms |
コンパイル使用メモリ | 166,452 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-22 07:37:14 |
合計ジャッジ時間 | 3,580 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 RE * 11 |
ソースコード
#include<bits/stdc++.h> using std::cin; using std::cout; using std::endl; using std::string; int main(){ string str; cin>>str; int N=str.size(); string S; S+='1'; for(int i=0;i<1e5;i++) S+='0'; assert(1<=N&&N<1e5); cout<<(N-1)/2+1<<endl; }