結果
| 問題 | No.522 Make Test Cases(テストケースを作る) |
| コンテスト | |
| ユーザー |
uafr_cs
|
| 提出日時 | 2017-06-02 22:55:01 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 542 bytes |
| 記録 | |
| コンパイル時間 | 1,737 ms |
| コンパイル使用メモリ | 85,572 KB |
| 実行使用メモリ | 53,628 KB |
| 最終ジャッジ日時 | 2026-04-10 05:20:13 |
| 合計ジャッジ時間 | 7,265 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 OLE * 1 -- * 9 |
ソースコード
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.PriorityQueue;
import java.util.Scanner;
public class Main {
public static int RANGE = 100;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
final int N = sc.nextInt();
for(int a = 1; a <= N; a++){
for(int b = a; a + b <= N; b++){
for(int c = b; a + b + c <= N; c++){
System.out.println(a + " " + b + " " + c);
}
}
}
}
}
uafr_cs