結果

問題 No.785 色食い虫
コンテスト
ユーザー arisu_takanasi
提出日時 2019-02-09 19:44:01
言語 Java
(openjdk 25.0.2)
コンパイル:
javac -encoding UTF8 _filename_
実行:
java -ea -Xmx700m -Xss256M -DONLINE_JUDGE=true _class_
結果
RE  
実行時間 -
コード長 397 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 2,712 ms
コンパイル使用メモリ 86,148 KB
実行使用メモリ 46,744 KB
最終ジャッジ日時 2026-03-22 21:10:45
合計ジャッジ時間 6,244 ms
ジャッジサーバーID
(参考情報)
judge3_1 / judge1_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 28
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

import java.util.Scanner;

public class No785{
	public static void main(String[]args) {
		int R = comb();
		int G = comb();
		int B= comb();
		int out = (R*G*B);
		System.out.println(out);
	}

	public static int comb() {
		Scanner N = new Scanner(System.in);
		String COLL =N.next();
		int leg = COLL.length();
		int leng = ((leg-1)/2)+1;
		leng = leng^2;
		int comb =256-leng;
		return comb;
	}
}
0