Please read the new rule regarding the restriction on the use of AI tools. ×

I don't know how I've never seen this C++ feature before

Revision en3, by pajenegod, 2023-03-31 17:31:44

Take a look at this C++ submission 199864568:

#import <bits/stdc++.h>
using namespace std;
int main()
{
    int a; 
    cin >> a; 
    cout << ((a%2==0 && a>2) ? "YES" : "NO");
}

Don't see it?
Spoilers
Tags import, include, gcc, c++

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English pajenegod 2023-03-31 17:31:44 1 Tiny change: ' and `#prama once` i' -> ' and `#pragma once` i'
en2 English pajenegod 2023-03-30 23:21:38 20 Tiny change: 'oser look =P\n\n<sp' -> 'oser look at the code =P\n\n<sp'
en1 English pajenegod 2023-03-30 23:20:17 1409 Initial revision (published)