c++ | 100% faster than all | easy
\n\n# Code\n\nclass Solution {\npublic:\n    int minOperations(int n) {\n        return n * n / 4;\n    }\n};\n
\n\n# Code\n```\nclass Solution {\npublic:\n    int minOperations(int n) {\n        return n * n / 4;\n    }\n};\n```
['C++']