ckefgisc28th
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # A1. 你說的對,但是你說的對(Undeniable) ## Problem Statement $Repkironca$ 是一個怪人,尤其在語言表達上,表現出強烈的個性 導致周圍的人,甚至他自己,都常常聽不懂他在說什麼 舉例來說,因為他覺得 $CaCO_3$ 唸成 ``C_A_C_O_three`` 太饒口 於是她會唸成 ``咖口 three``,對,就是 ``CA_CO_three`` 正常人類根本聽不出他在唸化學式 又或著,他很喜歡把別人的英文名字,用一些奇怪的方法轉成英文 然後再隨便亂唸出來,例如 ``陳亮延`` 會被他變成 ``Chirai`` 這甚至不是護照標準翻譯,而是他隨口亂掰的 今天 $Repkironca$ 又突發奇想,他覺得英文文章往往太長 自己乾脆取每個單字的字首,把它全部拚在一起變成一個長單字 最後再隨便亂發音就完事了! 如此一來,``Alvin Chang`` 會被他簡化成 ``AC`` 而 ``Mary is wearing a dress and glasses`` 會被他變成 ``Miwadag``(對上面這句話有聲音我知道) 這種簡稱法則被他稱為 ***RE Name Rule*** 他興奮的跑去跟 $Aaw$ 炫耀自己的新發現! 但 $Aaw$ 才懶得鳥他,於是從網路上抓了兩篇複製文 準備用來敷衍他 但做人還是要有最基本的良心 如果一律回同篇複製文,$Repkironca$ 覺得自己被敷衍而走心就不好了 請你寫一套程式,幫 $Aaw$ 判斷 $Repkironca$ 這次講出來的簡稱 是否是正確的,來讓他視情況丟出不同的複製文 ## Input Format 輸入有三行 第一行是一個正整數 $N$,$1 \leq N \leq 1000$ 代表整句話的單字數 第二行包含 $N$ 個字串 $S$,中間以空白分隔,全部由小寫英文字母組成 代表 $Repkironca$ 想要拿來作簡稱的原話 第三行包含一個字串 $T$,全部由小寫英文字母組成,長度洽為 $N$ 代表 $Repkironca$ 根據 ***RE Name Rule***,把上行文字當作目標,所轉出來的簡稱 > $N$ > $S_1$ $S_2$ $...$ $S_N$ > $T$ ## Output Format 如果 $Repkironca$ 所作的簡稱是正確的,請輸出 > 你說的對,但是你說的對是由你說的對自主研發的一款全新你說的對。你說的對發生在一個被稱作你說的對的你說的對世界,在這裡被你說的對選中的你說的對將被授予你說的對,引導你說的對之力。你將扮演一位名為你說的對的神秘角色,在自由的旅行中邂逅你說的對、你說的對的你說的對們,和你說的對一起擊敗你說的對,尋找失散的你說的對,同時,逐步發掘你說的對的真相。 反之,如果他所作的簡稱有誤,請輸出 > 對不起,我不懂您的意思。我是一個AI語言模型,我無法被教導或培養,也不會有感情。如果您有任何需要幫助的問題,我會盡力回答。如果您不需要與我交流,您可以直接離開。 ## Sample ### Input ``` 2 aaron wu aw ``` ### Output ``` 你說的對,但是你說的對是由你說的對自主研發的一款全新你說的對。你說的對發生在一個被稱作你說的對的你說的對世界,在這裡被你說的對選中的你說的對將被授予你說的對,引導你說的對之力。你將扮演一位名為你說的對的神秘角色,在自由的旅行中邂逅你說的對、你說的對的你說的對們,和你說的對一起擊敗你說的對,尋找失散的你說的對,同時,逐步發掘你說的對的真相。 ``` ### Input ``` 16 youre gone and i gotta stay high all the time to keep you off my mind abcdefghijklmnop ``` ### Output ``` 對不起,我不懂您的意思。我是一個AI語言模型,我無法被教導或培養,也不會有感情。如果您有任何需要幫助的問題,我會盡力回答。如果您不需要與我交流,您可以直接離開。 ``` ## Scoring 每個 Subtask 獨立計算,取聯集,滿分 100 分 - Subtask.1(23%)保證 $N=2$ - Subtask.2(77%)無額外限制 ## Hint - 如果你一直 WA 掉查不到原因,而且你正使用 DevC++ 或 Code::Block,很可能是你編譯器的中文編碼問題,這點在你們那邊是看不到的。此時可以直接去 Repl 上打這題再載下來,或私訊任何一個出題者,我們可以幫你調資料 - 拜託直接複製貼上就好,不要隨便換行之類,否則你會吃 WA - 針對測資 2,它的正解應該是 ``ygaigshatttkyomm`` - 測資很多元,可能有一首歌的歌詞,甚至小說的篇章? - 你問我為什麼大家 Subtask 的分數都那麼詭異?那你可以選擇全部拿 100 啊,聽起來很棒對吧 🐈 ###### tags: `2023建北電資學術上機考`

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully