训练记录
2017/2/16
Codeforces Round #397 (DIV 1,2 combined)
Solved: 3 (A, B, C) out of 7 in 3 hours
Attempted: D
Standing: 1244/5507
2017/2/18
Codeforces Round #398 (DIV 2)
Solved 2 (A, D) out of 5 in 2 hours
Attempted: B, C
Standing: 131/3132
Starred Problems: B, C, E
2017/2/19
hihoCoder Challenge #27
Solved 1 (A) out of 4 in 2 hours
Attempted: B
Standing: 64/116
Starred: A, B
2018/4/2
HackerRank HourRank 27
Solved: 1.5/3
Attempted: 2/3
Score: 62.59/135
Rank 87/1711
总结:
?:的优先级比<<高,在cout语句中用?:要加括号。- 仔细读题,读完题目再写代码。
 long long ans; ans = max(ans, 0LL),其中0LL不能写成0。std::set和std::multiset的成员函数rbegin()返回值是指向最大值的 iterator。std::set/map和std:multiset/multimap的erase方法的参数的类型可以是iterator也可以是const key_type &。前一种情况只删除一个元素,后一种情况删除所有 key 等于所提供的参数的元素。
                    
                
                
            
        
浙公网安备 33010602011771号