結果

問題 No.1329 Square Sqsq
ユーザー xRS43BofaUEZ5gcxRS43BofaUEZ5gc
提出日時 2021-03-08 11:25:22
言語 Java21
(openjdk 21)
結果
AC  
実行時間 204 ms / 2,000 ms
コード長 287 bytes
コンパイル時間 3,239 ms
コンパイル使用メモリ 74,740 KB
実行使用メモリ 43,036 KB
最終ジャッジ日時 2024-04-18 02:44:48
合計ジャッジ時間 8,139 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
41,360 KB
testcase_01 AC 121 ms
41,308 KB
testcase_02 AC 122 ms
41,360 KB
testcase_03 AC 182 ms
42,620 KB
testcase_04 AC 193 ms
42,644 KB
testcase_05 AC 183 ms
42,828 KB
testcase_06 AC 198 ms
42,872 KB
testcase_07 AC 200 ms
42,896 KB
testcase_08 AC 203 ms
42,836 KB
testcase_09 AC 196 ms
42,944 KB
testcase_10 AC 194 ms
42,740 KB
testcase_11 AC 204 ms
43,036 KB
testcase_12 AC 188 ms
42,424 KB
testcase_13 AC 181 ms
42,972 KB
testcase_14 AC 160 ms
41,340 KB
testcase_15 AC 124 ms
41,148 KB
testcase_16 AC 123 ms
41,660 KB
testcase_17 AC 162 ms
41,496 KB
testcase_18 AC 169 ms
41,908 KB
testcase_19 AC 174 ms
41,756 KB
testcase_20 AC 143 ms
41,504 KB
testcase_21 AC 151 ms
41,448 KB
testcase_22 AC 198 ms
42,896 KB
testcase_23 AC 175 ms
41,744 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class HelloWorld {

	    public static void main(String[] args) throws Exception {

	    	Scanner sc = new Scanner(System.in);
	    	String n = sc.nextLine();
	    	sc.close();
	    	System.out.println((int)Math.ceil(n.length() / 2.0));

	    	}

	    }
0