From c2e23841f446489c4d9b7d2b616f3de249159f5f Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 15 Mar 2025 22:55:04 +0900 Subject: feat(frontend): show notice for players --- frontend/app/components/Gaming/Problem.tsx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'frontend/app/components/Gaming/Problem.tsx') diff --git a/frontend/app/components/Gaming/Problem.tsx b/frontend/app/components/Gaming/Problem.tsx index 1584a5a..0f7d26f 100644 --- a/frontend/app/components/Gaming/Problem.tsx +++ b/frontend/app/components/Gaming/Problem.tsx @@ -19,6 +19,30 @@ export default function Problem({ title, description, sampleCode }: Props) { + +
+

スコアはコード中の全 ASCII 空白文字を除去した後のバイト数です。

+

+ この環境の PHP バージョンは{" "} + 8.4.4 です。 mbstring + を除くほとんどの拡張は無効化されています。 + また、ファイルやネットワークアクセスはできません。 +

+

+ テストの成否は、標準出力へ出力された文字列を比較して判定されます。 + 末尾の改行はあってもなくても構いません。 + 標準エラー出力の内容は無視されますが、fatal error + 等で実行が中断された場合は失敗扱いとなります。 +

+

+ なお、error_reporting は{" "} + + E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED + {" "} + に設定されています。 +

+
+
); } -- cgit v1.2.3-70-g09d2