結果

問題 No.35 タイパー高橋
ユーザー SuunnSuunn
提出日時 2018-11-20 05:25:13
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 360 bytes
コンパイル時間 1,652 ms
コンパイル使用メモリ 72,060 KB
実行使用メモリ 58,880 KB
最終ジャッジ日時 2023-08-26 02:10:52
合計ジャッジ時間 3,016 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
	

public class Main{
	
	
	public static void main(String args[])throws Exception{
		
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int ans = 0;
		for(int i=0;i<N;i++){
			int T = sc.nextInt();
			String S = sc.next();
			int L = S.length();
			if(12*T/1000>=L){
				ans++;
			}
		}
		System.out.println(ans);
	}
}
0