Problem Solution

1 solutions

  • 1
    @ 2024-12-12 18:37:55

    Problem Setter: Araf Al Jami (CLown1331)
    Problem tag: Giveaway
    Tutorial: You need to print any non-negative even number that is less than or equal to N.
    The smallest even number starts from 0. No matter what N is, 0 is always one of the possible answers.
    Time Complexity: O(1).
    Code :

    #include <iostream>
    
    using namespace std;
    
    int main()
    {
    	int n; cin >> n;
    	cout << 0 << '\n';
    }
    
  • 1

Information

ID
1124
Difficulty
1
Category
(None)
Tags
# Submissions
145
Accepted
90
Accepted Ratio
62%
Uploaded By