这是一篇用来测试的空白文章

Published: by Creative Commons Licence

This is kramdown formatting test page for Simple Texture theme.

General Usage

This is a normal paragraph.

This is a link to my homepage. A link can also have a title.

This is a text with light and strong emphasis.

This is emphasized as well.

This does _not_ work.

This does __not__ work either.

This is a footnote1.

This scarcely known tag emulates keyboard text, which is usually styled like the <code> tag.

This tag should denote inserted text.

The emphasize tag should italicize text.

This tag will let you strikeout text.

Blockquotes

ruby -v

tsc -v

Nested

This is a paragraph in blockquote.

A nested blockquote.

Lists inside

Unordered List

  • lists one
  • lists two
  • lists three

Ordered List

  1. lists one
  2. lists two
  3. lists three

Long lines

Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. Think of it like a file-based CMS, without all the complexity. Jekyll takes your content, renders Markdown and Liquid templates, and spits out a complete, static website ready to be served by Apache, Nginx or another web server. Jekyll is the engine behind GitHub Pages, which you can use to host sites right from your GitHub repositories.

Lists

  • list 1 item 1
    • nested list item 1
    • nested list item 2
    • nested list item 3 with blockquote

      ruby -v

      tsc -v

  • list 1 item 2
  • list 1 item 3

Tables

  • Table 1

    Default aligned Left aligned Center aligned Right aligned
    First body part Second cell Third cell fourth cell
    Second line foo strong baz
    Third line quux baz bar
    Footer row      
  • Table 2

    Default aligned Left aligned Center aligned Right aligned
    First body part Second cell Third cell fourth cell
    Second line foo strong baz
    Third line quux baz bar
    Footer row      

Horizontal Rules





Images

Here comes an image!

Kramdown Overview

Code highlight

展开代码
    #include <bits/stdc++.h>
    #define endl '\n'
    #define ll long long
    #define PB push_back
    #define POP pop_back
    #define INF 0x3f3f3f3f
    using namespace std;
    const int maxn = 1e5 + 10;
    int n;
    string s;
    map<string, int> m;
    int main(){			

    cin >> n;
        int x = 0, ans = 0;
        while(n --){
            cin >> s;
            m[s] += 1;
            if(m[s] == x + 1){
                ans ++;
                x ++;
            }
        }
        cout << ans;
        system("pause");
        return 0;
    }
    


本站总访客数人次

  1. This is a footnote.