結果
| 問題 | No.522 Make Test Cases(テストケースを作る) |
| コンテスト | |
| ユーザー |
bluemegane
|
| 提出日時 | 2018-09-12 19:26:47 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 349 bytes |
| コンパイル時間 | 4,076 ms |
| コンパイル使用メモリ | 109,476 KB |
| 実行使用メモリ | 31,852 KB |
| 最終ジャッジ日時 | 2024-06-27 14:15:30 |
| 合計ジャッジ時間 | 6,305 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 1 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
public class Hello
{
public static void Main()
{
var n = int.Parse(Console.ReadLine().Trim());
for (int i = 1; i <= 1000; i++)
for (int j = i; j <= 1000; j++)
{
var z = n - i - j;
if (z >= j) Console.WriteLine("{0} {1} {2}",i,j,z);
}
}
}
bluemegane