結果
問題 |
No.522 Make Test Cases(テストケースを作る)
|
ユーザー |
![]() |
提出日時 | 2017-06-02 22:29:01 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 486 bytes |
コンパイル時間 | 1,049 ms |
コンパイル使用メモリ | 103,552 KB |
実行使用メモリ | 27,008 KB |
最終ジャッジ日時 | 2024-09-21 22:29:55 |
合計ジャッジ時間 | 7,019 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 1 TLE * 1 -- * 9 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Linq; using System.Collections.Generic; public class Solution { public static void Main() { var n = int.Parse(Console.ReadLine()); var result = 0; for (int a = 0; a * 3 < n; a++) { for (int b = a; a + b + b < n; b++) { for (int c = b; a + b + c < n; c++) { Console.WriteLine($"{a} {b} {c}"); } } } } }