Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html /
kougakubu /
htdocs /
answer /
Delete
Unzip
Name
Size
Permission
Date
Action
A.php
5.88
KB
-rwxr-xr-x
2024-08-28 00:23
B.php
4.33
KB
-rwxr-xr-x
2024-08-28 00:23
C.php
4.31
KB
-rwxr-xr-x
2024-08-28 00:23
D.php
4.68
KB
-rwxr-xr-x
2024-08-28 00:23
E.php
4.4
KB
-rwxr-xr-x
2024-08-28 00:23
F.php
4.71
KB
-rwxr-xr-x
2024-08-28 00:23
G.php
4.59
KB
-rwxr-xr-x
2024-08-28 00:23
H.php
4.46
KB
-rwxr-xr-x
2024-08-28 00:23
I.php
3.27
KB
-rwxr-xr-x
2024-08-28 22:38
J.php
3.44
KB
-rwxr-xr-x
2024-08-28 22:38
K.php
2.97
KB
-rwxr-xr-x
2024-08-28 22:39
Save
Rename
<?php /* session_start(); */ ///* require_once '/var/www/html/kougakubu/htdocs/auth/session_upload.php'; */ //print_r($_SESSION); //session_upload(); //セッション変数 $_SESSION["loggedin"]を確認。ログイン済だったらウェルカムページへリダイレクト $time_delta=1698390000-time(); // 2023 10 27 16 00 +9 /*if($time_delta > 0){ if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ header("location: /auth/login.php"); exit; } // admin or TsuruNoTsurugiのみ通す。それ以外はeixt if(!(strcmp($_SESSION['name'],"admin")==0 or strcmp($_SESSION['name'],"TsuruNoTsurugi")==0)){ exit("This page is only for admin user. Please login as admin user"); } }*/ //時間を過ぎたらログインの有無に関係なく通す。 ?> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>B解説 秋祭 | 工学部</title> <link rel="icon" type="image/png" href="../icon.png"> <link rel="stylesheet" type="text/css" href="../css.css"> <link rel= "stylesheet" href="../prism.css"> <script src="../prism.js"></script> <script> MathJax = { loader: {load: ['input/asciimath', 'output/chtml', 'ui/menu']}, }; </script> <script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/startup.js"></script> </head> <body style="background-color: #f9f9f9;"> <header> <a href="/index.php"><img src="/icon.png" class="gaming" height="35px"></a><a> </a> <a class="a-none-color" href="../index.php">秋祭 | 静岡高校工学部</a> <nav class="nav"> <ul class="menu-group"> <li class="menu-item"><a href="../index.php">ホーム</a></li> <li class="menu-item"><a href="../problems.php">問題</a></li> <li class="menu-item"><a href="../submit.php">提出</a></li> <li class="menu-item"><a href="../judge.php">判定</a></li> <li class="menu-item"><a href="../Codetest/index.php">コードテスト</a></li> <li class="menu-item"><a href="../rank.php">順位</a></li> <li class="menu-item"><a href="../answer.php">解説</a></li> | <?php if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ $script_name = $_SERVER['SCRIPT_NAME']; //header("location: auth/login.php"); } else{ echo '<li class="menu-item"><a href="auth/logout.php">ログアウト</a></li>'; } ?> | <?php echo $_SESSION['name']; ?> </ul> </nav> </header><hr> <br><br> <p class="center" style="font-family:serif;font-size: 40px;text-shadow: #e23b44 2px 2px 3px;">卬高杯</p> <div class="gap"> <h2 class="narrow">B問題 - Replacing `\mathbb{X}` with Twitter - 解説 chi0311</h2> <a>実行時間制限: 2 sec / メモリ制限: 1024 MB</a><hr> <div class="gap"> <h3>解説</h3> <code>replce</code>などで変換する、または一文字ずつ出力することで解けます。 <hr>解答例(Python) <pre><code class="line-numbers show-language toolbar match-braces language-python"><?php echo htmlspecialchars(file_get_contents('/var/www/scripts/B-python.py'));?></code></pre> 解答例(C++) <pre><code class="line-numbers show-language toolbar match-braces language-cpp"><?php echo htmlspecialchars(file_get_contents('/var/www/scripts/B-cpp'));?></code></pre> <hr> <h3>コメント</h3> ほとんどの人が`\mathbb{X}`のことをTwitterと呼んでいる。<br> Sample3、わかりにくくてすみません。<code>Twitter</code>のほうがよかったですね。 </div> <a style="text-align: center;" href="../problems/B.php">問題はここから</a> </div> <footer> <p>© 静岡高校工学部 2023</p> </footer> </body> </html>