Language: C++

> Executing task: g++ -g -I /usr/local/Cellar/boost/1.70.0/include /Users/yt/Desktop/cppBuild/practice/input.txt -o /Users/yt/Desktop/cppBuild/practice/input && /Users/yt/Desktop/cppBuild/practice/input < /Users/yt/Desktop/cppBuild/practice/input.txt <

ld: file too small (length=4) file '/Users/yt/Desktop/cppBuild/practice/input.txt' for architecture x86_64
collect2: error: ld returned 1 exit status
ターミナルの処理が終了しました (終了コード: 1)

ターミナルはタスクで再利用されます、閉じるには任意のキーを押してください。

> Executing task: g++ -g -I /usr/local/Cellar/boost/1.70.0/include /Users/yt/Desktop/cppBuild/practice/practice.cpp -o /Users/yt/Desktop/cppBuild/practice/practice && /Users/yt/Desktop/cppBuild/practice/practice < /Users/yt/Desktop/cppBuild/practice/input.txt <

/Users/yt/Desktop/cppBuild/practice/practice.cpp: In function 'int main()':
/Users/yt/Desktop/cppBuild/practice/practice.cpp:36:18: error: expected '}' at end of input
   36 |     print(result);
      |                  ^
/Users/yt/Desktop/cppBuild/practice/practice.cpp:26:12: note: to match this '{'
   26 | int main() {
      |            ^
ターミナルの処理が終了しました (終了コード: 1)

ターミナルはタスクで再利用されます、閉じるには任意のキーを押してください。

> Executing task: g++ -g -I /usr/local/Cellar/boost/1.70.0/include /Users/yt/Desktop/cppBuild/practice/practice.cpp -o /Users/yt/Desktop/cppBuild/practice/practice && /Users/yt/Desktop/cppBuild/practice/practice < /Users/yt/Desktop/cppBuild/practice/input.txt <

Bad

ターミナルはタスクで再利用されます、閉じるには任意のキーを押してください。

> Executing task: g++ -g -I /usr/local/Cellar/boost/1.70.0/include /Users/yt/Desktop/cppBuild/practice/practice.cpp -o /Users/yt/Desktop/cppBuild/practice/practice && /Users/yt/Desktop/cppBuild/practice/practice < /Users/yt/Desktop/cppBuild/practice/input.txt <

Good

ターミナルはタスクで再利用されます、閉じるには任意のキーを押してください。


Compiler output:
a.cc:1:53: error: too many decimal points in number
    1 | > Executing task: g++ -g -I /usr/local/Cellar/boost/1.70.0/include /Users/yt/Desktop/cppBuild/practice/input.txt -o /Users/yt/Desktop/cppBuild/practice/input && /Users/yt/Desktop/cppBuild/practice/input < /Users/yt/Desktop/cppBuild/practice/input.txt <
      |                                                     ^~~~~~
a.cc:3:36: warning: multi-character literal with 45 characters exceeds 'int' size of 4 bytes
    3 | ld: file too small (length=4) file '/Users/yt/Desktop/cppBuild/practice/input.txt' for architecture x86_64
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:7:1: error: extended character 、 is not valid in an identifier
    7 | ターミナルはタスクで再利用されます、閉じるには任意のキーを押してください。
      | ^
a.cc:7:1: error: extended character 。 is not valid in an identifier
a.cc:9:53: error: too many decimal points in number
    9 | > Executing task: g++ -g -I /usr/local/Cellar/boost/1.70.0/include /Users/yt/Desktop/cppBuild/practice/practice.cpp -o /Users/yt/Desktop/cppBuild/practice/practice && /Users/yt/Desktop/cppBuild/practice/practice < /Users/yt/Desktop/cppBuild/practice/input.txt <
      |                                                     ^~~~~~
a.cc:11:63: warning: multi-character literal with 10 characters exceeds 'int' size of 4 bytes
   11 | /Users/yt/Desktop/cppBuild/practice/practice.cpp: In function 'int main()':
      |                                                               ^~~~~~~~~~~~
a.cc:20:1: error: extended character 、 is not valid in an identifier
   20 | ターミナルはタスクで再利用されます、閉じるには任意のキーを押してください。
      | ^
a.cc:20:1: error: extended character 。 is not valid in an identifier
a.cc:22:53: error: too many decimal points in number
   22 | > Executing task: g++ -g -I /usr/local/Cellar/boost/1.70.0/include /Users/yt/Desktop/cppBuild/practice/practice.cpp -o /Users/yt/Desktop/cppBuild/practice/practice && /Users/yt/Desktop/cppBuild/practice/practice < /Users/yt/Desktop/cppBuild/practice/input.txt <
      |                                                     ^~~~~~
a.cc:26:1: error: extended character 、 is not valid in an identifier
   26 | ターミナルはタスクで再利用されます、閉じるには任意のキーを押してください。
      | ^
a.cc:26:1: error: extended character 。 is not valid in an identifier
a.cc:28:53: error: too many decimal points in number
   28 | > Executing task: g++ -g -I /usr/local/Cellar/boost/1.70.0/include /Users/yt/Desktop/cppBuild/practice/practice.cpp -o /Users/yt/Desktop/cppBuild/practice/practice && /Users/yt/Desktop/cppBuild/practice/practice < /Users/yt/Desktop/cppBuild/practice/input.txt <
      |                                                     ^~~~~~
a.cc:32:1: error: extended character 、 is not valid in an identifier
   32 | ターミナルはタスクで再利用されます、閉じるには任意のキーを押してください。
      | ^
a.cc:32:1: error: extended character 。 is not valid in an identifier
a.cc:1:1: error: expected unqualified-id before '>' token
    1 | > Executing task: g++ -g -I /usr/local/Cellar/boost/1.70.0/include /Users/yt/Desktop/cppBuild/practice/input.txt -o /Users/yt/Desktop/cppBuild/practice/input && /Users/yt/Desktop/cppBuild/practice/input < /Users/yt/Desktop/cppBuild/practice/input.txt <
      | ^
a.cc:14:7: error: expected unqualified-id before '|' token
   14 |       |                  ^
      |       ^