TopCoder

User's AC Ratio

94.3% (33/35)

Submission's AC Ratio

44.8% (39/87)

Tags

Description

本題禁止使用 python 作答。

你的朋友整天用沒有道理的 coding style,是時候制裁他了!

不過,到底要怎麼證明他的 coding style 很糟呢?有一個想法是,不好的 coding style 會讓你打錯字的時候不易察覺,要是因為打錯字造出 bug 就會很難發現,或者是很花時間。

你的朋友覺得完全不信,怎麼可能有這種事?他寫了一份(他覺得)完全完全安全的程式碼,你能在 Edit Distance $x$ 讓這隻程式產生 Runtime Error 嗎?

如果 $x \leq 10$,那你的得分是
$$
\frac{150}{\left(x+\frac{1}{2}\right) ^ {x}} +
\frac{100}{x + 1}
- \frac{25 x ^ 6}{72}
+ \frac{125 x ^ 5}{24}
- \frac{1825 x ^ 4}{72}
+ \frac{875 x ^ 3}{24}
+ \frac{925 x ^ 2}{36}
- \frac{125 x}{3}
$$
如果你的得分有至少 100 分就會得到 AC,在比賽中分數只會顯示到 100,不過可以在送出後的界面看到 Accepted / Wrong Answer 的原因以及實際分數。

如果你的程式有被成功編譯,那你的執行時間會是你的 submission ID。

Code
#include <stdio.h>

int main() {
    printf("Well, how dangerous is this program?\n");
}

Input Format

輸入不重要。

本題唯一的一筆輸入如範例所示。

Output Format

輸出不重要。

你的程式只要能異常結束就會被視為正確。

Sample Input 1

(please ignore the input)

Sample Output 1

Well, how dangerous is this program?

Hints

Problem Source

Subtasks

No. Testdata Range Constraints Score
1 0 無額外限制 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 262144 65536 1