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

Правка en1, от pajenegod, 2023-03-30 23:20:17

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
Теги import, include, gcc, c++

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский pajenegod 2023-03-31 17:31:44 1 Tiny change: ' and `#prama once` i' -> ' and `#pragma once` i'
en2 Английский 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 Английский pajenegod 2023-03-30 23:20:17 1409 Initial revision (published)