They were used to do what?
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 165 |
2 | maomao90 | 164 |
3 | Um_nik | 163 |
4 | atcoder_official | 160 |
4 | adamant | 160 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
8 | Dominater069 | 154 |
8 | nor | 154 |
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