Submission #1043951

#TimeUsernameProblemLanguageResultExecution timeMemory
1043951guagua0407Portal (BOI24_portal)C++17
Compilation error
0 ms0 KiB
#include<bits/stdc++.h> using namespace std; #define dixie main #define 69 int #define suck cin>> #define sir cout<< int dixie(){ 69 x; suck x; sir x<<'\n'; }

Compilation message (stderr)

Main.cpp:4:9: error: macro names must be identifiers
    4 | #define 69 int
      |         ^~
Main.cpp: In function 'int main()':
Main.cpp:8:5: error: expected ';' before 'x'
    8 |   69 x;
      |     ^~
      |     ;
Main.cpp:8:3: warning: statement has no effect [-Wunused-value]
    8 |   69 x;
      |   ^~
Main.cpp:9:8: error: 'x' was not declared in this scope
    9 |   suck x;
      |        ^