They were used to do what?
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 161 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | Dominater069 | 154 |
8 | awoo | 154 |
10 | luogu_official | 150 |
They were used to do what?
Name |
---|
Okay, the mean of y3487465 and y8687969 is y6087717.
So what's the mean of y6087717
Sorry I was joking, it was because "the mean (average) of 3487465 and 8687969 is 6087717."
Ha-ha
You can't use some variable names in global namespace when 'using namespace std' is used like next, prev, y1 ... etc
To get around it some people use #define with random name like
Thank you,I know
According to you,when 'using namespace std'is used,we can't use y1,yes? But why I can use y1 successfully without #define like this: using namespace std; int ne[5][2]={{0,0},{1,0},{-1,0},{0,1},{0,-1}}; int a[41][41],n,m,best; void search(int x) { int i,j,f,k,xx,yy,x1,x2,y1,y2; vector<pair<int,int> >tmp;
Try this in global namespace:
The reason is that y1 is already declared in global namespace, it's safe when used locally
Oh,I know.It's so magic.Thank you