They were used to do what?
# | User | Rating |
---|---|---|
1 | tourist | 3993 |
2 | jiangly | 3743 |
3 | orzdevinwang | 3707 |
4 | Radewoosh | 3627 |
5 | jqdai0815 | 3620 |
6 | Benq | 3564 |
7 | Kevin114514 | 3443 |
8 | ksun48 | 3434 |
9 | Rewinding | 3397 |
10 | Um_nik | 3396 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 155 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
10 | nor | 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