結果

問題 No.1329 Square Sqsq
ユーザー xRS43BofaUEZ5gcxRS43BofaUEZ5gc
提出日時 2021-03-08 11:25:22
言語 Java19
(openjdk 21)
結果
AC  
実行時間 201 ms / 2,000 ms
コード長 287 bytes
コンパイル時間 3,960 ms
コンパイル使用メモリ 72,136 KB
実行使用メモリ 57,300 KB
最終ジャッジ日時 2023-07-31 01:43:33
合計ジャッジ時間 8,903 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
55,848 KB
testcase_01 AC 118 ms
55,776 KB
testcase_02 AC 117 ms
55,768 KB
testcase_03 AC 194 ms
56,484 KB
testcase_04 AC 195 ms
56,520 KB
testcase_05 AC 198 ms
56,680 KB
testcase_06 AC 192 ms
57,300 KB
testcase_07 AC 195 ms
56,952 KB
testcase_08 AC 201 ms
56,764 KB
testcase_09 AC 198 ms
56,996 KB
testcase_10 AC 193 ms
56,548 KB
testcase_11 AC 195 ms
56,772 KB
testcase_12 AC 201 ms
56,816 KB
testcase_13 AC 198 ms
57,044 KB
testcase_14 AC 170 ms
56,100 KB
testcase_15 AC 131 ms
56,064 KB
testcase_16 AC 122 ms
56,052 KB
testcase_17 AC 170 ms
56,408 KB
testcase_18 AC 182 ms
56,564 KB
testcase_19 AC 180 ms
56,444 KB
testcase_20 AC 149 ms
56,244 KB
testcase_21 AC 154 ms
55,832 KB
testcase_22 AC 194 ms
56,900 KB
testcase_23 AC 177 ms
56,596 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