They were used to do what?
# | User | Rating |
---|---|---|
1 | jiangly | 3898 |
2 | tourist | 3840 |
3 | orzdevinwang | 3706 |
4 | ksun48 | 3691 |
5 | jqdai0815 | 3682 |
6 | ecnerwala | 3525 |
7 | gamegame | 3477 |
8 | Benq | 3468 |
9 | Ormlis | 3381 |
10 | maroonrk | 3379 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | -is-this-fft- | 165 |
3 | Dominater069 | 161 |
4 | atcoder_official | 160 |
5 | Um_nik | 159 |
6 | djm03178 | 156 |
7 | adamant | 153 |
8 | luogu_official | 151 |
9 | awoo | 149 |
10 | TheScrasse | 146 |
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