#include <iostream> using namespace std; int n, k, m, s; int main() { \x09while (cin >> n >> k) { \x09\x09s = 0; \x09\x09for (int i = 1; i < n; i++) cin >> m, s += m; \x09\x09if (s + k < k * 2 * n) cout << "Pass\n"; \x09\x09else cout << "Fail\n"; \x09} \x09return 0; }
Note that non-ascii characters in the above source code will be escaped (such as \x9f).