結果
問題 |
No.9000 Hello World! (テスト用)
|
ユーザー |
![]() |
提出日時 | 2017-08-26 14:14:51 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
RE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 703 bytes |
コンパイル時間 | 1,012 ms |
コンパイル使用メモリ | 106,712 KB |
実行使用メモリ | 26,848 KB |
最終ジャッジ日時 | 2024-12-25 01:30:10 |
合計ジャッジ時間 | 1,675 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 4 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System.Diagnostics; using System.IO; class Program { static void Main() { var process = new Process(); process.StartInfo.UseShellExecute = false; process.StartInfo.FileName = "echo"; process.StartInfo.Arguments = "Hello World!"; process.StartInfo.RedirectStandardOutput = true; process.Start(); process.WaitForExit(); var output = process.StandardOutput.ReadToEnd(); File.WriteAllText("out", output); process.StartInfo.FileName = "cat"; process.StartInfo.Arguments = "out"; process.StartInfo.RedirectStandardOutput = false; process.Start(); process.WaitForExit(); } }