#include <iostream>\x0d using namespace std;\x0d \x0d int main() {\x0d int n, m, t;\x0d while (cin >> n) {\x0d cin >> m;\x0d int sum = m;\x0d for (int i = 1; i < n; i++) {\x0d cin >> t;\x0d sum += t;\x0d }\x0d cout << (m * 2 * n <= sum ? "Fail" : "Pass") << endl;\x0d }\x0d return 0;\x0d }\x0d
Note that non-ascii characters in the above source code will be escaped (such as \x9f).