Does anybody know how to get variables in TopCoder and return answer using c++? Like in almost in every other judge i use std::cin but in TopCoder it gives you variables like in function.
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3676 |
| 2 | jiangly | 3670 |
| 3 | Kevin114514 | 3657 |
| 4 | maroonrk | 3355 |
| 5 | Um_nik | 3353 |
| 6 | squareOf105 | 3346 |
| 7 | tourist | 3343 |
| 8 | strapple | 3324 |
| 9 | heuristica | 3322 |
| 10 | jiangbowen | 3291 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | AmShZ | 143 |
| 5 | Um_nik | 141 |
| 6 | Errichto | 139 |
| 7 | adamant | 137 |
| 8 | BledDest | 133 |
| 8 | maroonrk | 133 |
| 10 | qwexd | 130 |
A little help needed
Does anybody know how to get variables in TopCoder and return answer using c++? Like in almost in every other judge i use std::cin but in TopCoder it gives you variables like in function.
| Rev. | Lang. | By | When | Δ | Comment | |
|---|---|---|---|---|---|---|
| en5 |
|
InRainbows | 2024-04-29 10:29:35 | 1177 | Tiny change: 'ep-guide\nAnd: htt' -> 'ep-guide\n\nAnd: htt' | |
| en4 |
|
InRainbows | 2024-04-29 07:09:50 | 24 | Tiny change: 'mple code?' -> 'mple code? (Sorry for bad english)' | |
| en3 |
|
InRainbows | 2024-04-29 06:41:56 | 31 | Tiny change: ' function.' -> ' function. Can anybody send example code?' | |
| en2 |
|
InRainbows | 2024-04-29 06:38:20 | 19 | ||
| en1 |
|
InRainbows | 2024-04-29 06:37:31 | 190 | Initial revision (published) |
| Name |
|---|


