Language: C++

Last login: Sat May 30 17:50:12 on console
[zplug] Loaded from cache (/Users/ryo.shibahara/.zplug/cache)
 Load "~/.zplug/repos/zsh-users/zsh-history-substring-search/zsh-history-substring-search.plugin.zsh" (zsh-users/zsh-history-substring-search)
 Load "~/.zplug/repos/zsh-users/zsh-completions/zsh-completions.plugin.zsh" (zsh-users/zsh-completions)
 Load "~/.zplug/repos/tcnksm/docker-alias/zshrc" (tcnksm/docker-alias)
 Load "~/.zplug/repos/mollifier/anyframe/anyframe.plugin.zsh" (mollifier/anyframe)
 Load "~/.zplug/repos/robbyrussell/oh-my-zsh/lib/git.zsh" (plugins/git)
 Load "~/.zplug/repos/robbyrussell/oh-my-zsh/plugins/git/git.plugin.zsh" (plugins/git)
 Load "~/.zplug/repos/zsh-users/zaw/zaw.plugin.zsh" (zsh-users/zaw)
 Load "~/.zplug/repos/zsh-users/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh" (zsh-users/zsh-autosuggestions)
 Load "~/.zplug/repos/dracula/zsh/dracula.zsh-theme" (dracula/zsh)
 Link "~/.zplug/repos/junegunn/fzf-bin/fzf-bin" (junegunn/fzf-bin)
 Link "~/.zplug/repos/b4b4r07/79ee61f7c140c63d2786/get_last_pane_path.sh" (b4b4r07/79ee61f7c140c63d2786)
 Link "~/.zplug/repos/k4rthik/git-cal/git-cal" (k4rthik/git-cal)
 Link "~/.zplug/repos/b4b4r07/httpstat/httpstat.sh" (b4b4r07/httpstat)
 Link "~/.zplug/repos/b4b4r07/hello_bitbucket/hello.sh" (b4b4r07/hello_bitbucket)
[zplug] Run compinit
 Load "~/.zplug/repos/zsh-users/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh" (zsh-users/zsh-syntax-highlighting)
➜  ~ ls
 Applications/   Desktop/   Documents/   Downloads/  'Google Drive File Stream'@   Library/   Movies/   Music/   Pictures/   Public/   dotfiles/   tutorial/
➜  ~ cd Desktop/
➜  Desktop ls
 ABC/  'Amazon.co.jp - 注文番号 250-9251653-8339060.pdf'  'Amazon.co.jp - 注文番号 503-3709696-3004639.pdf'  'Amazon.co.jp - 注文番号 503-6010258-2320602.pdf'   study/   詳解システムパフォーマンス.pdf
➜  Desktop cd study/
➜  study ls
atcoder/  paper/  prog/
➜  study cd atcoder/
➜  atcoder ls
practice/  sort/
➜  atcoder mkdir contest
➜  atcoder ls
contest/  practice/  sort/
➜  atcoder cd contest/
➜  contest ls
➜  contest mkdir nomura20200530
➜  contest cd nomura20200530/
➜  nomura20200530 ls
➜  nomura20200530 cat ../../practice/example/a.cpp
#include <bits/stdc++.h>
using namespace std;

int main(void) {
    int n, a;
    cin >> n;

    a = n % 10;
    switch ( a ) {
    case 2: 
    case 4:
    case 5:
    case 7:
    case 9:
        cout << "hon" << endl;
        break;
    case 0:
    case 1:
    case 6:
    case 8:
        cout << "pon" << endl;
        break;
    case 3:
        cout << "bon" << endl;
        break;
    }
}
➜  nomura20200530 vim problemA.cpp
➜  nomura20200530 cat ../../practice/search/qq.cpp
#include <bits/stdc++.h>
using namespace std;

int main(void) {
    int n;
    bool flag = false;
    cin >> n;

    for (int i = 1; i < 10; i++) {
        int a = n % i;
        if (a == 0 && (n / i) < 10) {
            cout << "Yes" << endl;
            flag = true;
            break;
        }
    }

    if (flag == false) {
        cout << "No" << endl;
    }

    return 0;
}
➜  nomura20200530 cat ../../sort/quick.cpp
#include<bits/stdc++.h>
using namespace std;

void swap(int* a, int* b) {
    int t = *a;
    *a = *b;
    *b = t;
}

int partition(int array[], int l, int r) {
    int pivot = array[r];
    int i = (l - 1);

    for (int j = l; j <= r - 1; j++) {
        if (array[j] <= pivot) {
            i++;
            swap(&array[i], &array[j]);
        }
    }
    swap(&array[i + 1], &array[r]);
    return (i + 1);
}

void quickSort(int array[], int l, int r) {
    if (l < r) {
        int pivot = partition(array, l, r);
        quickSort(array, l, pivot - 1);
        quickSort(array, pivot + 1, r);
    }
}

int main(void) {
    int i;
    int array[10] = {3, 6, 1, 7, 2, 0, 4, 5, 9, 8};

    printf("       array: ");
    for (i = 0; i < sizeof(array) / sizeof(array[0]); i++) {
        printf("%d ", array[i]);
    }
    printf("\n");

    quickSort(array, 0, sizeof(array) / sizeof(array[0]) - 1);

    printf("sorted array: ");
    for (i = 0; i < sizeof(array) / sizeof(array[0]); i++) {
        printf("%d ", array[i]);
    }
    printf("\n");

    return 0;
}
➜  nomura20200530 vim problemA.cpp
➜  nomura20200530 vim problemA.cpp
➜  nomura20200530 vim problemA.cpp
➜  nomura20200530 g++ -o a problemA.cpp
problemA.cpp:8:5: error: use of undeclared identifier 'calcEndTime'
    calcEndTime(&h2, &m2, k);
    ^
problemA.cpp:9:11: error: use of undeclared identifier 'calcTime'
    ans = calcTime(h1, m1, h2, m2);
          ^
problemA.cpp:28:9: warning: expression result unused [-Wunused-value]
        *h--;
        ^~~~
1 warning and 2 errors generated.
➜  nomura20200530 g++ -o a problemA.cpp
problemA.cpp:8:5: error: use of undeclared identifier 'calcEndTime'
    calcEndTime(&h2, &m2, k);
    ^
problemA.cpp:9:11: error: use of undeclared identifier 'calcTime'
    ans = calcTime(h1, m1, h2, m2);
          ^
problemA.cpp:28:9: warning: expression result unused [-Wunused-value]
        *h--;
        ^~~~
1 warning and 2 errors generated.
➜  nomura20200530 vim problemA.cpp
➜  nomura20200530 g++ -o a problemA.cpp
problemA.cpp:17:9: warning: expression result unused [-Wunused-value]
        *h--;
        ^~~~
1 warning generated.
➜  nomura20200530 vim problemA.cpp
➜  nomura20200530 g++ -o a problemA.cpp
➜  nomura20200530 ./a
10 0 15 0 30
270
➜  nomura20200530 ./a
10 0 12 0 120
0
➜  nomura20200530 cat problemA.cpp
#include <bits/stdc++.h>
using namespace std;

int calcTime(int sh, int sm, int eh, int em) {
    int hour, minute;
    int t;
    hour = eh - sh;
    minute = em -sm;
    t = hour * 60 + minute;
    return t;
}

void calcEndTime(int* h, int* m, int k) {
    int minute;
    minute = *m - k;
    if (minute < 0) {
        *h = *h - 1;
        *m = 60 + minute;
    }
}

int main(void) {
    int h1, h2, m1, m2, k;
    int ans;
    cin >> h1 >> m1 >> h2 >> m2 >> k;
    calcEndTime(&h2, &m2, k);
    ans = calcTime(h1, m1, h2, m2);
    if (ans < 0) { ans = 0; }
    cout << ans << endl;
    return 0;
}
➜  nomura20200530 vim problemA.cpp
➜  nomura20200530 g++ -o a problemA.cpp
➜  nomura20200530 ./a
10 0 15 0 30
270
➜  nomura20200530 ./a
10 0 12 0 120
0
➜  nomura20200530 cat problemA.cpp
#include <bits/stdc++.h>
using namespace std;

int calcTime(int sh, int sm, int eh, int em) {
    int hour, minute;
    int t;
    hour = eh - sh;
    minute = em - sm;
    t = hour * 60 + minute;
    return t;
}

void calcEndTime(int* h, int* m, int k) {
    int minute;
    minute = *m - k;
    while (true) {
        if (minute < 0) {
            *h = *h - 1;
            minute = 60 + minute;
        }
        if (minute >= 0) {
            *m = minute;
            break;
        }
    }
}

int main(void) {
    int h1, h2, m1, m2, k;
    int ans;
    cin >> h1 >> m1 >> h2 >> m2 >> k;
    calcEndTime(&h2, &m2, k);
    ans = calcTime(h1, m1, h2, m2);
    if (ans < 0) { ans = 0; }
    cout << ans << endl;
    return 0;
}
➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 g++ -o b problemB.cpp
➜  nomura20200530 ./b
PD?D??P
PD?D??P
➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 g++ -o b problemB.cpp
problemB.cpp:8:18: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
        if (t[i] == "?") {
                 ^  ~~~
problemB.cpp:8:18: error: comparison between pointer and integer ('std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::value_type' (aka 'char') and 'const char *')
        if (t[i] == "?") {
            ~~~~ ^  ~~~
1 warning and 1 error generated.
➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 g++ -o b problemB.cpp
➜  nomura20200530 ./b
PD?D??P
hoge
hoge
hoge
PD?D??P
➜  nomura20200530 g++ -o b problemB.cpp
➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 g++ -o b problemB.cpp
➜  nomura20200530 ./b
PD?D??P
PDPDPDP
➜  nomura20200530 g++ -o b problemB.cpp
➜  nomura20200530 ./b
P?P?
PDPD
➜  nomura20200530 cat problemB.cpp
#include <bits/stdc++.h>
using namespace std;

int main(void) {
    string t;
    cin >> t;
    for (int i = 0; i < t.size(); i++) {
        if (t[i] == '?') {
            if (t[i-1] == 'P') {
                t[i] = 'D';
            } else if (t[i+1] == 'D') {
                t[i] = 'P';
            } else {
                if (t[i+1] == '?') {
                    t[i] = 'P';
                    t[i+1] = 'D';
                }
            }
        }
    }
    cout << t << endl;
}
➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 g++ -o b problemB.cpp
problemB.cpp:12:17: error: use of undeclared identifier 't'
            if (t[i+1] == 'D') {
                ^
1 error generated.
➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 g++ -o b problemB.cpp
problemB.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
1 warning generated.
➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 g++ -o b problemB.cpp
➜  nomura20200530 ./b
PD?D??P

➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 g++ -o b problemB.cpp
➜  nomura20200530 ./b
PD?D??P

➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 g++ -o b problemB.cpp
➜  nomura20200530 ./b
PD?D??P
PDPDPDP
➜  nomura20200530 ./b
P?P?
PDPD
➜  nomura20200530 cat problemB.cpp
#include <bits/stdc++.h>
using namespace std;
string Ans;
int Score = 0;

int calcPoint(string s) {
    int point = 0;
    for (int i = 0; i < s.size(); i++) {
        if (s[i] == 'D') {
            point++;
        } else {
            if (s[i+1] == 'D') {
                point++;
            }
        }
    }
    return point;
}

int searchString(string s) {
    for (int i = 0; i < s.size(); i++ ) {
        if (s[i] == '?') {
            s[i] = 'P';
            searchString(s);
            s[i] = 'D';
            searchString(s);
            break;
        }
    }
    int p = calcPoint(s);
    if (Score < p) { 
        Score = p;
        Ans = s;
    }
    return Score;
}

int main(void) {
    string t;
    cin >> t;
    searchString(t);
    cout << Ans << endl;
    return 0;
}
➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 g++ -o b problemB.cpp
➜  nomura20200530 ./b
PD?D??P
PDPDPDP
➜  nomura20200530 cat problemB.cpp
#include <bits/stdc++.h>
using namespace std;
string Ans;
int Score = 0;

int calcPoint(string s) {
    int point = 0;
    for (int i = 0; i < s.size(); i++) {
        if (s[i] == 'D') {
            point++;
        } else {
            if (s[i+1] == 'D') {
                point++;
            }
        }
    }
    return point;
}

int searchString(string s) {
    for (int i = 0; i < s.size(); i++ ) {
        if (s[i] == '?') {
            if (s[i-1] == 'P') {
                s[i] = 'D';
            } else if (s[i+1] == 'D') {
                s[i] = 'P';
            } else {
                s[i] = 'P';
                searchString(s);
                s[i] = 'D';
                searchString(s);
                break;
            }
        }
    }
    int p = calcPoint(s);
    if (Score < p) { 
        Score = p;
        Ans = s;
    }
    return Score;
}

int main(void) {
    string t;
    cin >> t;
    searchString(t);
    cout << Ans << endl;
    return 0;
}
➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 cp problemB.cpp test.cpp
➜  nomura20200530 vim test.cpp
➜  nomura20200530 g++ -o b problemB.cpp
➜  nomura20200530 cat test.cpp
#include <bits/stdc++.h>
using namespace std;
 
int main(void) {
    string t;
    cin >> t;
    for (int i = 0; i < t.size(); i++) {
        if (t[i] == '?') {
            if (t[i-1] == 'P') {
                t[i] = 'D';
            } else if (t[i+1] == 'D') {
                t[i] = 'P';
            } else if (t[i+1] == 'P') {
                t[i] = 'D';
            } else {
                if (t[i+1] == '?') {
                    t[i] = 'P';
                    t[i+1] = 'D';
                }
            }
        }
    }
    cout << t << endl;
}
➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 g++ -o b problemB.cpp
problemB.cpp:28:22: warning: equality comparison result unused [-Wunused-comparison]
                s[i] == 'D';
                ~~~~~^~~~~~
problemB.cpp:28:22: note: use '=' to turn this equality comparison into an assignment
                s[i] == 'D';
                     ^~
                     =
1 warning generated.
➜  nomura20200530 vim problemB.cpp
➜  nomura20200530 g++ -o b problemB.cpp
➜  nomura20200530 cat problemB.cpp
#include <bits/stdc++.h>
using namespace std;
string Ans;
int Score = 0;

int calcPoint(string s) {
    int point = 0;
    for (int i = 0; i < s.size(); i++) {
        if (s[i] == 'D') {
            point++;
        } else {
            if (s[i+1] == 'D') {
                point++;
            }
        }
    }
    return point;
}

int searchString(string s) {
    for (int i = 0; i < s.size(); i++ ) {
        if (s[i] == '?') {
            if (s[i-1] == 'P') {
                s[i] = 'D';
            } else if (s[i+1] == 'D') {
                s[i] = 'P';
            } else if (s[i+1] == 'P') {
                s[i] = 'D';
            } else {
                s[i] = 'P';
                searchString(s);
                s[i] = 'D';
                searchString(s);
                break;
            }
        }
    }
    int p = calcPoint(s);
    if (Score < p) { 
        Score = p;
        Ans = s;
    }
    return Score;
}

int main(void) {
    string t;
    cin >> t;
    searchString(t);
    cout << Ans << endl;
    return 0;
}

Compiler output:
a.cc:13:84: error: exponent has no digits
   13 |  Link "~/.zplug/repos/b4b4r07/79ee61f7c140c63d2786/get_last_pane_path.sh" (b4b4r07/79ee61f7c140c63d2786)
      |                                                                                    ^~~~~~~~~~~~~~~~~~~~
a.cc:19:1: error: extended character ➜ is not valid in an identifier
   19 | ➜  ~ ls
      | ^
a.cc:20:54: warning: multi-character literal with 24 characters exceeds 'int' size of 4 bytes
   20 |  Applications/   Desktop/   Documents/   Downloads/  'Google Drive File Stream'@   Library/   Movies/   Music/   Pictures/   Public/   dotfiles/   tutorial/
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:20:80: error: stray '@' in program
   20 |  Applications/   Desktop/   Documents/   Downloads/  'Google Drive File Stream'@   Library/   Movies/   Music/   Pictures/   Public/   dotfiles/   tutorial/
      |                                                                                ^
a.cc:21:1: error: extended character ➜ is not valid in an identifier
   21 | ➜  ~ cd Desktop/
      | ^
a.cc:22:1: error: extended character ➜ is not valid in an identifier
   22 | ➜  Desktop ls
      | ^
a.cc:23:8: warning: multi-character literal with 51 characters exceeds 'int' size of 4 bytes
   23 |  ABC/  'Amazon.co.jp - 注文番号 250-9251653-8339060.pdf'  'Amazon.co.jp - 注文番号 503-3709696-3004639.pdf'  'Amazon.co.jp - 注文番号 503-6010258-2320602.pdf'   study/   詳解システムパフォーマンス.pdf
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:23:59: warning: multi-character literal with 51 characters exceeds 'int' size of 4 bytes
   23 |  ABC/  'Amazon.co.jp - 注文番号 250-9251653-8339060.pdf'  'Amazon.co.jp - 注文番号 503-3709696-3004639.pdf'  'Amazon.co.jp - 注文番号 503-6010258-2320602.pdf'   study/   詳解システムパフォーマンス.pdf
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:23:110: warning: multi-character literal with 51 characters exceeds 'int' size of 4 bytes
   23 |  ABC/  'Amazon.co.jp - 注文番号 250-9251653-8339060.pdf'  'Amazon.co.jp - 注文番号 503-3709696-3004639.pdf'  'Amazon.co.jp - 注文番号 503-6010258-2320602.pdf'   study/   詳解システムパフォーマンス.pdf
      |                                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:23:171: warning: `\U00008a73\U000089e3\U000030b7\U000030b9\U000030c6\U000030e0\U000030cf\U0000309a\U000030d5\U000030a9\U000030fc\U000030de\U000030f3\U000030b9' is not in NFC [-Wnormalized=]
   23 |  ABC/  'Amazon.co.jp - <U+6CE8><U+6587><U+756A><U+53F7> 250-9251653-8339060.pdf'  'Amazon.co.jp - <U+6CE8><U+6587><U+756A><U+53F7> 503-3709696-3004639.pdf'  'Amazon.co.jp - <U+6CE8><U+6587><U+756A><U+53F7> 503-6010258-2320602.pdf'   study/   <U+8A73><U+89E3><U+30B7><U+30B9><U+30C6><U+30E0><U+30CF><U+309A><U+30D5><U+30A9><U+30FC><U+30DE><U+30F3><U+30B9>.pdf
      |                                                                                                                                                                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:24:1: error: extended character ➜ is not valid in an identifier
   24 | ➜  Desktop cd study/
      | ^
a.cc:25:1: error: extended character ➜ is not valid in an identifier
   25 | ➜  study ls
      | ^
a.cc:27:1: error: extended character ➜ is not valid in an identifier
   27 | ➜  study cd atcoder/
      | ^
a.cc:28:1: error: extended character ➜ is not valid in an identifier
   28 | ➜  atcoder ls
      | ^
a.cc:30:1: error: extended character ➜ is not valid in an identifier
   30 | ➜  atcoder mkdir contest
      | ^
a.cc:31:1: error: extended character ➜ is not valid in an identifier
   31 | ➜  atcoder ls
      | ^
a.cc:33:1: error: extended character ➜ is not valid in an identifier
   33 | ➜  atcoder cd contest/
      | ^
a.cc:34:1: error: extended character ➜ is not valid in an identifier
   34 | ➜  contest ls
      | ^
a.cc:35:1: error: extended character ➜ is not valid in an identifier
   35 | ➜  contest mkdir nomura20200530
      | ^
a.cc:36:1: error: extended character ➜ is not valid in an identifier
   36 | ➜  contest cd nomura20200530/
      | ^
a.cc:37:1: error: extended character ➜ is not valid in an identifier
   37 | ➜  nomura20200530 ls
      | ^
a.cc:38:1: error: extended character ➜ is not valid in an identifier
   38 | ➜  nomura20200530 cat ../../practice/example/a.cpp
      | ^
a.cc:66:1: error: extended character ➜ is not valid in an identifier
   66 | ➜  nomura20200530 vim problemA.cpp
      | ^
a.cc:67:1: error: extended character ➜ is not valid in an identifier
   67 | ➜  nomura20200530 cat ../../practice/search/qq.cpp
      | ^
a.cc:91:1: error: extended character ➜ is not valid in an identifier
   91 | ➜  nomura20200530 cat ../../sort/quick.cpp
      | ^
a.cc:143:1: error: extended character ➜ is not valid in an identifier
  143 | ➜  nomura20200530 vim problemA.cpp
      | ^
a.cc:144:1: error: extended character ➜ is not valid in an identifier
  144 | ➜  nomura20200530 vim problemA.cpp
      | ^
a.cc:145:1: error: extended character ➜ is not valid in an identifier
  145 | ➜  nomura20200530 vim problemA.cpp
      | ^
a.cc:146:1: error: extended character ➜ is not valid in an identifier
  146 | ➜  nomura20200530 g++ -o a problemA.cpp
      | ^
a.cc:147:55: warning: multi-character literal with 11 characters exceeds 'int' size of 4 bytes
  147 | problemA.cpp:8:5: error: use of undeclared identifier 'calcEndTime'
      |                                                       ^~~~~~~~~~~~~
a.cc:150:56: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
  150 | problemA.cpp:9:11: error: use of undeclared identifier 'calcTime'
      |                                                        ^~~~~~~~~~
a.cc:157:1: error: extended character ➜ is not valid in an identifier
  157 | ➜  nomura20200530 g++ -o a problemA.cpp
      | ^
a.cc:158:55: warning: multi-character literal with 11 characters exceeds 'int' size of 4 bytes
  158 | problemA.cpp:8:5: error: use of undeclared identifier 'calcEndTime'
      |                                                       ^~~~~~~~~~~~~
a.cc:161:56: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
  161 | problemA.cpp:9:11: error: use of undeclared identifier 'calcTime'
      |                                                        ^~~~~~~~~~
a.cc:168:1: error: extended character ➜ is not valid in an identifier
  168 | ➜  nomura20200530 vim problemA.cpp
      | ^
a.cc:169:1: error: extended character ➜ is not valid in an identifier
  169 | ➜  nomura20200530 g++ -o a problemA.cpp
      | ^
a.cc:174:1: error: extended character ➜ is not valid in an identifier
  174 | ➜  nomura20200530 vim problemA.cpp
      | ^
a.cc:175:1: error: extended character ➜ is not valid in an identifier
  175 | ➜  nomura20200530 g++ -o a problemA.cpp
      | ^
a.cc:176:1: error: extended character ➜ is not valid in an identifier
  176 | ➜  nomura20200530 ./a
      | ^
a.cc:179:1: error: extended character ➜ is not valid in an identifier
  179 | ➜  nomura20200530 ./a
      | ^
a.cc:182:1: error: extended character ➜ is not valid in an identifier
  182 | ➜  nomura20200530 cat problemA.cpp
      | ^
a.cc:214:1: error: extended character ➜ is not valid in an identifier
  214 | ➜  nomura20200530 vim problemA.cpp
      | ^
a.cc:215:1: error: extended character ➜ is not valid in an identifier
  215 | ➜  nomura20200530 g++ -o a problemA.cpp
      | ^
a.cc:216:1: error: extended character ➜ is not valid in an identifier
  216 | ➜  nomura20200530 ./a
      | ^
a.cc:219:1: error: extended character ➜ is not valid in an identifier
  219 | ➜  nomura20200530 ./a
      | ^
a.cc:222:1: error: extended character ➜ is not valid in an identifier
  222 | ➜  nomura20200530 cat problemA.cpp
      | ^
a.cc:260:1: error: extended character ➜ is not valid in an identifier
  260 | ➜  nomura20200530 vim problemB.cpp
      | ^
a.cc:261:1: error: extended character ➜ is not valid in an identifier
  261 | ➜  nomura20200530 vim problemB.cpp
      | ^
a.cc:262:1: error: extended character ➜ is not valid in an identifier
  262 | ➜  nomura20200530 g++ -o b problemB.cpp
      | ^
a.cc:263:1: error: extended character ➜ is not valid in an identifier
  263 | ➜  nomura20200530 ./b
      | ^
a.cc:266:1: error: extended character ➜ is not valid in an identifier
  266 | ➜  nomura20200530 vim problemB.cpp
      | ^
a.cc:267:1: error: extended character ➜ is not valid in an identifier
  267 | ➜  nomura20200530 g++ -o b problemB.cpp
      | ^
a.cc:271:67: warning: multi-character literal with 97 characters exceeds 'int' size of 4 bytes
  271 | problemB.cpp:8:18: error: comparison between pointer and integer ('std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::value_type' (aka 'char') and 'const char *')
      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:271:172: warning: multi-character character constant [-Wmultichar]
  271 | problemB.cpp:8:18: error: comparison between pointer and integer ('std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::value_type' (aka 'char') and 'const char *')
      |                                                                                                                                                                            ^~~~~~
a.cc:271:184: warning: multi-character literal with 12 characters exceeds 'int' size of 4 bytes
  271 | problemB.cpp:8:18: error: comparison between pointer and integer ('st