in many code i see that type of "something". anybody explain please.
| # | User | Rating |
|---|---|---|
| 1 | tourist | 3088 |
| 2 | peter50216 | 2823 |
| 3 | rng_58 | 2814 |
| 4 | Petr | 2756 |
| 5 | Egor | 2635 |
| 6 | meret | 2627 |
| 7 | al13n | 2609 |
| 8 | WJMZBMR | 2607 |
| 9 | yeputons | 2606 |
| 10 | SergeyRogulenko | 2601 |
| # | User | Contrib. |
|---|---|---|
| 1 | I_love_ilona | 176 |
| 2 | Egor | 163 |
| 3 | Nickolas | 150 |
| 3 | Petr | 150 |
| 5 | Ripatti | 148 |
| 6 | Sereja | 146 |
| 7 | SkidanovAlex | 145 |
| 8 | dalex | 144 |
| 8 | natalia | 144 |
| 10 | Zlobober | 142 |
in many code i see that type of "something". anybody explain please.




It sets stack size. If you don't write it, your solution may crash with stack overflow (in deep recursive functions, for example).
The only thing to add is that it's MS Visual C++-specific and won't work with GCC. In GCC you should specify
-Wl,--stack=256000000command line option to set stack size (in bytes).thats nice. by the by whats the default gcc stack size?
2MB. You can see this in the headers of .exe produced by MinGW.
Parameter
--stackcan be used only with MinGW. ;)so how increase stack in g++ under CNU/Linux?
Nohow. Stack size is a user limit under GNU/Linux and doesn't depend on compiler. You can use
ulimit -sto change/view it.“#pragma comment(linker, ”/STACK:36777216“)” Is it usable only in the on-line judge or anywhere you want?
It's usable anywhere with Microsoft Visual C++ — on your local machine and so on.