結果
| 問題 | No.1475 時計の歯車Easy |
| ユーザー |
|
| 提出日時 | 2022-07-02 14:06:16 |
| 言語 | OCaml (5.5.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 601µs | |
| コード長 | 311 bytes |
| 記録 | |
| コンパイル時間 | 637 ms |
| コンパイル使用メモリ | 22,816 KB |
| 実行使用メモリ | 9,872 KB |
| 最終ジャッジ日時 | 2026-09-30 17:37:45 |
| 合計ジャッジ時間 | 3,023 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 42 |
コンパイルメッセージ
ocamlfind: [WARNING] Cannot read directory ./stublibs which is mentioned in ld.conf
ソースコード
Scanf.scanf "%d" (fun n ->
for i = 1 to n do
Scanf.scanf " %d" (fun k ->
let arr = Array.init k (fun _ -> Scanf.scanf " %d" (fun l -> -l)) in
Array.sort compare arr;
Array.iter (fun v -> Printf.printf "%d " (-v)) arr
);
print_newline ()
done
)