This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string> | |
#include <cmath> | |
#include <set> | |
using namespace std; | |
class ABC { | |
public: | |
string createString(int N, int K) { | |
if (K == 0) { | |
return string(N, 'A'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="google_translate_element"></div><script type="text/javascript"> | |
function googleTranslateElementInit() { | |
new google.translate.TranslateElement({pageLanguage: 'zh-CN', includedLanguages: 'de,en,fr,ja,ko,ru,zh-TW', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, multilanguagePage: true}, 'google_translate_element'); | |
} | |
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package xyz | |
import ( | |
"io" | |
"os" | |
"golang.org/x/crypto/ssh/terminal" | |
) | |
type readerWriter struct { | |
io.Reader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net/http" | |
"github.com/mkideal/cli" | |
) | |
type argT struct { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"github.com/mkideal/cli" | |
) | |
type argT struct { | |
Help bool `cli:"h,help" usage:"display help information"` | |
Name string `cli:"name" usage:"your name" dft:"world"` | |
Age uint8 `cli:"a,age" usage:"your age" dft:"100"` |