diff options
Diffstat (limited to 'codechef/ReachOnTime')
| -rw-r--r-- | codechef/ReachOnTime/main.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/codechef/ReachOnTime/main.cpp b/codechef/ReachOnTime/main.cpp new file mode 100644 index 0000000..caf16c8 --- /dev/null +++ b/codechef/ReachOnTime/main.cpp @@ -0,0 +1,15 @@ +#include<bits/stdc++.h> + +using namespace std; + +int main () { + ios_base::sync_with_stdio(false); + cin.tie(NULL); + int tt; + cin >> tt; + while(tt--){ + int x; + cin >> x; + cout << (x >= 30 ? "YES" : "NO") << endl; + } +} |
