Submission #34523


ソースコード

1
2
3
4
5
6
7
8
9
10
import java.util.*;
class Main{
public static void main(String[]A){
Scanner s=new Scanner(System.in);
s.next();
int v=s.nextBigInteger().compareTo(s.nextBigInteger());
System.out.println(v>0?"a":v<0?"b":"friends");
}
}

ステータス

項目 データ
問題 0915 - Comparator
ユーザー名 fal_rnd
投稿日時 2018-05-02 15:15:31
言語 Java
状態 Accepted
得点 1
ソースコード長 240 Byte
最大実行時間 131 ms
最大メモリ使用量 16204 KB

セット

セット 得点 Cases
1 ALL 1 / 1 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in_1.txt AC 131 ms 15788 KB
1
in_2.txt AC 105 ms 15744 KB
1
in_3.txt AC 87 ms 15892 KB
1
in_4.txt AC 88 ms 16056 KB
1
in_5.txt AC 90 ms 14716 KB
1
large_1.txt AC 89 ms 15524 KB
1
large_2.txt AC 96 ms 15192 KB
1
large_3.txt AC 97 ms 16204 KB
1
rand_1.txt AC 94 ms 15112 KB
1
rand_2.txt AC 84 ms 15392 KB
1
rand_3.txt AC 90 ms 15116 KB
1