forked from tiankonguse/ACM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
0.cpp
49 lines (40 loc) · 864 Bytes
/
0.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<iostream>
#include<string>
#include<queue>
#include<map>
#include<cmath>
#include<stack>
#include<algorithm>
#include<functional>
#include<unistd.h>
#include <time.h>
#include<stdarg.h>
using namespace std;
#define DEC_1 0
#define DEC_2 1
#define DEC_3 2
#define DEC_3 2
#define DEC_3 2
#define DEC_3 2
#define DEC_3 2
#define DEC_3 2
#define DEC_3 2
#define DEC( n ) DEC_##n
#define CHR( x, y ) CHR1( x, y )
#define CHR1( x, y ) x##y
#define LEFT_1( n ) <--
#define LEFT_2( n ) CHR( LEFT_, DEC( n ) )( DEC( n ) )--
#define LEFT_3( n ) CHR( LEFT_, DEC( n ) )( DEC( n ) )--
#define LEFT(l,r, n ) l LEFT_##n(n) r
#define TO_STRING( x ) TO_STRING1( x )
#define TO_STRING1( x ) #x
int main() {
char s[90] = "hello";
char a[90] = "hello";
char * const p = s;
s = a;
return 0;
}