結果
| 問題 |
No.522 Make Test Cases(テストケースを作る)
|
| コンテスト | |
| ユーザー |
uafr_cs
|
| 提出日時 | 2017-06-02 22:55:01 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 542 bytes |
| コンパイル時間 | 2,298 ms |
| コンパイル使用メモリ | 78,236 KB |
| 実行使用メモリ | 59,440 KB |
| 最終ジャッジ日時 | 2024-09-21 23:51:17 |
| 合計ジャッジ時間 | 9,180 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 TLE * 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