結果
問題 |
No.504 ゲーム大会(ランキング)
|
ユーザー |
![]() |
提出日時 | 2017-05-10 15:11:34 |
言語 | Java (openjdk 23) |
結果 |
RE
|
実行時間 | - |
コード長 | 392 bytes |
コンパイル時間 | 2,228 ms |
コンパイル使用メモリ | 74,340 KB |
実行使用メモリ | 59,340 KB |
最終ジャッジ日時 | 2024-09-15 07:08:09 |
合計ジャッジ時間 | 14,071 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 13 |
ソースコード
import java.util.*; class Test31{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] point = new int[N]; int[] rank = new int[N]; int ranking = 1; for(int i=0; i<N; i++){ point[i] = sc.nextInt(); } for(int j=0; j<N; j++){ System.out.println(ranking); if(point[0]<point[j+1]){ ranking += 1; } } } }