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 | 170 |
2 | Um_nik | 162 |
3 | maomao90 | 161 |
4 | atcoder_official | 160 |
5 | djm03178 | 158 |
5 | -is-this-fft- | 158 |
7 | adamant | 154 |
7 | Dominater069 | 154 |
9 | awoo | 152 |
9 | luogu_official | 152 |
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