g*c 发帖数: 4510 | 1 #include |
l*********s 发帖数: 5409 | 2 missing std:: for the second map;
two adjacent angle brackets is an error before c++11.
you should not use double as key
n shall be size_t instead of n (ok for gcc, but not for vs) |
s**********k 发帖数: 88 | 3 主函数没有return
【在 l*********s 的大作中提到】 : missing std:: for the second map; : two adjacent angle brackets is an error before c++11. : you should not use double as key : n shall be size_t instead of n (ok for gcc, but not for vs)
|
c********1 发帖数: 421 | 4 你是打算说:
n shall be size_t instead of int?
【在 l*********s 的大作中提到】 : missing std:: for the second map; : two adjacent angle brackets is an error before c++11. : you should not use double as key : n shall be size_t instead of n (ok for gcc, but not for vs)
|
l*********s 发帖数: 5409 | 5 typo :-)
【在 c********1 的大作中提到】 : 你是打算说: : n shall be size_t instead of int?
|