摘要:
Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as00000010100101000001111010011100), return ... 阅读全文
摘要:
原文链接# echo "abcd"|tr 'a' 'b'bbcdtr 命令用途转换字符。语法tr[-c|-cds|-cs|-C|-Cds|-Cs|-ds|-s] [-A]String1String2tr{-cd|-cs|-Cd|-Cs|-d|-s} [-A]String1描述tr命令从标准输入删除或... 阅读全文
摘要:
Write a bash script to calculate the frequency of each word in a text filewords.txt.For simplicity sake, you may assume:words.txtcontains only lowerca... 阅读全文
摘要:
思路:代码:class Solution {public: int rob(vector &num) { if(num.empty()) return 0; int size=num.size(); if(size==1) return num[0];... 阅读全文