結果

問題 No.1329 Square Sqsq
ユーザー 遭難者遭難者
提出日時 2021-01-08 22:07:10
言語 Java21
(openjdk 21)
結果
AC  
実行時間 172 ms / 2,000 ms
コード長 267 bytes
コンパイル時間 1,887 ms
コンパイル使用メモリ 73,944 KB
実行使用メモリ 42,316 KB
最終ジャッジ日時 2024-04-28 03:14:13
合計ジャッジ時間 6,154 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 109 ms
40,868 KB
testcase_01 AC 96 ms
40,112 KB
testcase_02 AC 92 ms
41,088 KB
testcase_03 AC 172 ms
41,848 KB
testcase_04 AC 166 ms
41,760 KB
testcase_05 AC 162 ms
41,936 KB
testcase_06 AC 166 ms
41,668 KB
testcase_07 AC 170 ms
42,316 KB
testcase_08 AC 168 ms
42,144 KB
testcase_09 AC 164 ms
41,520 KB
testcase_10 AC 167 ms
41,920 KB
testcase_11 AC 171 ms
41,628 KB
testcase_12 AC 168 ms
41,664 KB
testcase_13 AC 164 ms
41,688 KB
testcase_14 AC 131 ms
41,260 KB
testcase_15 AC 116 ms
40,400 KB
testcase_16 AC 114 ms
41,516 KB
testcase_17 AC 115 ms
41,408 KB
testcase_18 AC 150 ms
41,472 KB
testcase_19 AC 134 ms
41,412 KB
testcase_20 AC 113 ms
41,284 KB
testcase_21 AC 122 ms
41,264 KB
testcase_22 AC 153 ms
41,672 KB
testcase_23 AC 139 ms
41,260 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.io.*;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		PrintWriter ou = new PrintWriter(System.out);
		ou.println((sc.next().length() - 1) / 2 + 1);
		ou.flush();
		sc.close();
	}
}
0