08 2019 档案
摘要:poj 2387 dijkstra c++ include include using namespace std; / poj 2387 link: http://poj.org/problem?id=2387 / int main(){ int T, N; / 赋值INF要注意一定要够大 / c
阅读全文
摘要:异或实现加法 另一种思路也可以使用 "01来实现三进制" ,根据真值表写出逻辑表达式 c++ class Solution { public: int singleNumber(vector& nums) { int a = 0, b = 0; for(int i = 0; i
阅读全文

浙公网安备 33010602011771号