7 条题解

  • 2
    @ 2024-9-15 15:21:29

    foo.cc:1:40: error: extended character ‘ is not valid in an identifier 1 | foo.cc:1:21: error: extended character ‘ is not valid in an identifier | ^ foo.cc:2:29: error: extended character ‘ is not valid in an identifier 2 | 1 | foo.cc: In function ‘int main()’: | ^ foo.cc:2:40: error: extended character ’ is not valid in an identifier 2 | 1 | foo.cc: In function ‘int main()’: | ^ foo.cc:4:40: error: extended character ’ is not valid in an identifier 4 | foo.cc:1:32: error: extended character ’ is not valid in an identifier | ^ foo.cc:5:29: error: extended character ‘ is not valid in an identifier 5 | 1 | foo.cc: In function ‘int main()’: | ^ foo.cc:5:40: error: extended character ’ is not valid in an identifier 5 | 1 | foo.cc: In function ‘int main()’: | ^ foo.cc:7:40: error: extended character ‘ is not valid in an identifier 7 | foo.cc:2:22: error: extended character ‘ is not valid in an identifier | ^ foo.cc:8:30: error: extended character ‘ is not valid in an identifier 8 | 2 | foo.cc:13:15: error: ‘g’ was not declared in this scope | ^ foo.cc:8:30: error: extended character ’ is not valid in an identifier foo.cc:10:40: error: extended character ’ is not valid in an identifier 10 | foo.cc:2:22: error: extended character ’ is not valid in an identifier | ^ foo.cc:11:40: error: extended character ‘ is not valid in an identifier 11 | foo.cc:5:31: error: extended character ‘ is not valid in an identifier | ^ foo.cc:12:39: error: extended character ‘ is not valid in an identifier 12 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:12:41: error: extended character ’ is not valid in an identifier 12 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:12:50: error: extended character ‘ is not valid in an identifier 12 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:12:52: error: extended character ’ is not valid in an identifier 12 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:14:40: error: extended character ’ is not valid in an identifier 14 | foo.cc:5:33: error: extended character ’ is not valid in an identifier | ^ foo.cc:15:39: error: extended character ‘ is not valid in an identifier 15 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:15:41: error: extended character ’ is not valid in an identifier 15 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:15:50: error: extended character ‘ is not valid in an identifier 15 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:15:52: error: extended character ’ is not valid in an identifier 15 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:17:40: error: extended character ‘ is not valid in an identifier 17 | foo.cc:5:42: error: extended character ‘ is not valid in an identifier | ^ foo.cc:18:39: error: extended character ‘ is not valid in an identifier 18 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:18:41: error: extended character ’ is not valid in an identifier 18 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:18:50: error: extended character ‘ is not valid in an identifier 18 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:18:52: error: extended character ’ is not valid in an identifier 18 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:20:40: error: extended character ’ is not valid in an identifier 20 | foo.cc:5:44: error: extended character ’ is not valid in an identifier | ^ foo.cc:21:39: error: extended character ‘ is not valid in an identifier 21 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:21:41: error: extended character ’ is not valid in an identifier 21 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:21:50: error: extended character ‘ is not valid in an identifier 21 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:21:52: error: extended character ’ is not valid in an identifier 21 | 5 | foo.cc:14:17: error: expected ‘;’ before ‘{’ token | ^ foo.cc:24:52: error: too many decimal points in number 24 | 9 | In file included from /nix/gcc/include/c++/13.2.0/algorithm:61, | ^~~~~~ foo.cc:27:30: error: too many decimal points in number 27 | 11 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h: In instantiation of ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: | ^~~~~~ foo.cc:27:74: error: extended character ‘ is not valid in an identifier 27 | 11 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h: In instantiation of ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: | ^ foo.cc:27:238: error: extended character ’ is not valid in an identifier 27 | 11 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h: In instantiation of ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: | ^ foo.cc:29:41: error: extended character ‘ is not valid in an identifier 29 | foo.cc:11:66: error: extended character ‘ is not valid in an identifier | ^ foo.cc:30:30: error: too many decimal points in number 30 | 11 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h: In instantiation of ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: | ^~~~~~ foo.cc:30:74: error: extended character ‘ is not valid in an identifier 30 | 11 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h: In instantiation of ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: | ^ foo.cc:30:238: error: extended character ’ is not valid in an identifier 30 | 11 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h: In instantiation of ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: | ^ foo.cc:32:42: error: extended character ’ is not valid in an identifier 32 | foo.cc:11:230: error: extended character ’ is not valid in an identifier | ^ foo.cc:33:30: error: too many decimal points in number 33 | 11 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h: In instantiation of ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: | ^~~~~~ foo.cc:33:74: error: extended character ‘ is not valid in an identifier 33 | 11 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h: In instantiation of ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: | ^ foo.cc:33:238: error: extended character ’ is not valid in an identifier 33 | 11 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h: In instantiation of ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: | ^ foo.cc:36:30: error: too many decimal points in number 36 | 12 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1859:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^~~~~~ foo.cc:36:78: error: extended character ‘ is not valid in an identifier 36 | 12 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1859:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:36:248: error: extended character ’ is not valid in an identifier 36 | 12 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1859:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:38:41: error: extended character ‘ is not valid in an identifier 38 | foo.cc:12:70: error: extended character ‘ is not valid in an identifier | ^ foo.cc:39:30: error: too many decimal points in number 39 | 12 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1859:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^~~~~~ foo.cc:39:78: error: extended character ‘ is not valid in an identifier 39 | 12 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1859:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:39:248: error: extended character ’ is not valid in an identifier 39 | 12 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1859:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:41:42: error: extended character ’ is not valid in an identifier 41 | foo.cc:12:240: error: extended character ’ is not valid in an identifier | ^ foo.cc:42:30: error: too many decimal points in number 42 | 12 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1859:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^~~~~~ foo.cc:42:78: error: extended character ‘ is not valid in an identifier 42 | 12 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1859:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:42:248: error: extended character ’ is not valid in an identifier 42 | 12 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1859:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:45:30: error: too many decimal points in number 45 | 13 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1950:31: required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^~~~~~ foo.cc:45:78: error: extended character ‘ is not valid in an identifier 45 | 13 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1950:31: required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:45:232: error: extended character ’ is not valid in an identifier 45 | 13 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1950:31: required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:47:41: error: extended character ‘ is not valid in an identifier 47 | foo.cc:13:70: error: extended character ‘ is not valid in an identifier | ^ foo.cc:48:30: error: too many decimal points in number 48 | 13 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1950:31: required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^~~~~~ foo.cc:48:78: error: extended character ‘ is not valid in an identifier 48 | 13 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1950:31: required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:48:232: error: extended character ’ is not valid in an identifier 48 | 13 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1950:31: required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:50:42: error: extended character ’ is not valid in an identifier 50 | foo.cc:13:224: error: extended character ’ is not valid in an identifier | ^ foo.cc:51:30: error: too many decimal points in number 51 | 13 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1950:31: required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^~~~~~ foo.cc:51:78: error: extended character ‘ is not valid in an identifier 51 | 13 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1950:31: required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:51:232: error: extended character ’ is not valid in an identifier 51 | 13 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1950:31: required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:54:30: error: too many decimal points in number 54 | 14 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:4861:18: required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ | ^~~~~~ foo.cc:54:78: error: extended character ‘ is not valid in an identifier 54 | 14 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:4861:18: required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ | ^ foo.cc:54:132: error: extended character ’ is not valid in an identifier 54 | 14 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:4861:18: required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ | ^ foo.cc:56:41: error: extended character ‘ is not valid in an identifier 56 | foo.cc:14:70: error: extended character ‘ is not valid in an identifier | ^ foo.cc:57:30: error: too many decimal points in number 57 | 14 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:4861:18: required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ | ^~~~~~ foo.cc:57:78: error: extended character ‘ is not valid in an identifier 57 | 14 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:4861:18: required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ | ^ foo.cc:57:132: error: extended character ’ is not valid in an identifier 57 | 14 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:4861:18: required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ | ^ foo.cc:59:42: error: extended character ’ is not valid in an identifier 59 | foo.cc:14:124: error: extended character ’ is not valid in an identifier | ^ foo.cc:60:30: error: too many decimal points in number 60 | 14 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:4861:18: required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ | ^~~~~~ foo.cc:60:78: error: extended character ‘ is not valid in an identifier 60 | 14 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:4861:18: required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ | ^ foo.cc:60:132: error: extended character ’ is not valid in an identifier 60 | 14 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:4861:18: required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = int]’ | ^ foo.cc:63:30: error: too many decimal points in number 63 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^~~~~~ foo.cc:63:83: error: extended character ‘ is not valid in an identifier 63 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:63:83: error: extended character ’ is not valid in an identifier foo.cc:63:99: error: extended character ‘ is not valid in an identifier 63 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:63:132: error: extended character ’ is not valid in an identifier 63 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:65:41: error: extended character ‘ is not valid in an identifier 65 | foo.cc:16:75: error: extended character ‘ is not valid in an identifier | ^ foo.cc:66:30: error: too many decimal points in number 66 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^~~~~~ foo.cc:66:83: error: extended character ‘ is not valid in an identifier 66 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:66:83: error: extended character ’ is not valid in an identifier foo.cc:66:99: error: extended character ‘ is not valid in an identifier 66 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:66:132: error: extended character ’ is not valid in an identifier 66 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:68:41: error: extended character ’ is not valid in an identifier 68 | foo.cc:16:75: error: extended character ’ is not valid in an identifier | ^ foo.cc:69:41: error: extended character ‘ is not valid in an identifier 69 | foo.cc:16:91: error: extended character ‘ is not valid in an identifier | ^ foo.cc:70:30: error: too many decimal points in number 70 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^~~~~~ foo.cc:70:83: error: extended character ‘ is not valid in an identifier 70 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:70:83: error: extended character ’ is not valid in an identifier foo.cc:70:99: error: extended character ‘ is not valid in an identifier 70 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:70:132: error: extended character ’ is not valid in an identifier 70 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:72:42: error: extended character ’ is not valid in an identifier 72 | foo.cc:16:124: error: extended character ’ is not valid in an identifier | ^ foo.cc:73:30: error: too many decimal points in number 73 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^~~~~~ foo.cc:73:83: error: extended character ‘ is not valid in an identifier 73 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:73:83: error: extended character ’ is not valid in an identifier foo.cc:73:99: error: extended character ‘ is not valid in an identifier 73 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:73:132: error: extended character ’ is not valid in an identifier 73 | 16 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:76:30: error: too many decimal points in number 76 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^~~~~~ foo.cc:76:100: error: extended character ‘ is not valid in an identifier 76 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^ foo.cc:76:102: error: extended character ’ is not valid in an identifier 76 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^ foo.cc:76:110: error: extended character ‘ is not valid in an identifier 76 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^ foo.cc:76:110: error: extended character ’ is not valid in an identifier foo.cc:78:41: error: extended character ‘ is not valid in an identifier 78 | foo.cc:19:92: error: extended character ‘ is not valid in an identifier | ^ foo.cc:79:30: error: too many decimal points in number 79 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^~~~~~ foo.cc:79:100: error: extended character ‘ is not valid in an identifier 79 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^ foo.cc:79:102: error: extended character ’ is not valid in an identifier 79 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^ foo.cc:79:110: error: extended character ‘ is not valid in an identifier 79 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^ foo.cc:79:110: error: extended character ’ is not valid in an identifier foo.cc:81:41: error: extended character ’ is not valid in an identifier 81 | foo.cc:19:94: error: extended character ’ is not valid in an identifier | ^ foo.cc:82:30: error: too many decimal points in number 82 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^~~~~~ foo.cc:82:100: error: extended character ‘ is not valid in an identifier 82 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^ foo.cc:82:102: error: extended character ’ is not valid in an identifier 82 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^ foo.cc:82:110: error: extended character ‘ is not valid in an identifier 82 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^ foo.cc:82:110: error: extended character ’ is not valid in an identifier foo.cc:84:42: error: extended character ‘ is not valid in an identifier 84 | foo.cc:19:102: error: extended character ‘ is not valid in an identifier | ^ foo.cc:85:30: error: too many decimal points in number 85 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^~~~~~ foo.cc:85:100: error: extended character ‘ is not valid in an identifier 85 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^ foo.cc:85:102: error: extended character ’ is not valid in an identifier 85 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^ foo.cc:85:110: error: extended character ‘ is not valid in an identifier 85 | 19 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1824:15: error: invalid type argument of unary ‘’ (have ‘int’) | ^ foo.cc:85:110: error: extended character ’ is not valid in an identifier foo.cc:87:42: error: extended character ’ is not valid in an identifier 87 | foo.cc:19:102: error: extended character ’ is not valid in an identifier | ^ foo.cc:89:30: error: too many decimal points in number 89 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^~~~~~ foo.cc:89:83: error: extended character ‘ is not valid in an identifier 89 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:89:83: error: extended character ’ is not valid in an identifier foo.cc:89:99: error: extended character ‘ is not valid in an identifier 89 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:89:132: error: extended character ’ is not valid in an identifier 89 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:91:41: error: extended character ‘ is not valid in an identifier 91 | foo.cc:22:75: error: extended character ‘ is not valid in an identifier | ^ foo.cc:92:30: error: too many decimal points in number 92 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^~~~~~ foo.cc:92:83: error: extended character ‘ is not valid in an identifier 92 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:92:83: error: extended character ’ is not valid in an identifier foo.cc:92:99: error: extended character ‘ is not valid in an identifier 92 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:92:132: error: extended character ’ is not valid in an identifier 92 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:94:41: error: extended character ’ is not valid in an identifier 94 | foo.cc:22:75: error: extended character ’ is not valid in an identifier | ^ foo.cc:95:41: error: extended character ‘ is not valid in an identifier 95 | foo.cc:22:91: error: extended character ‘ is not valid in an identifier | ^ foo.cc:96:30: error: too many decimal points in number 96 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^~~~~~ foo.cc:96:83: error: extended character ‘ is not valid in an identifier 96 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:96:83: error: extended character ’ is not valid in an identifier foo.cc:96:99: error: extended character ‘ is not valid in an identifier 96 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:96:132: error: extended character ’ is not valid in an identifier 96 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:98:42: error: extended character ’ is not valid in an identifier 98 | foo.cc:22:124: error: extended character ’ is not valid in an identifier | ^ foo.cc:99:30: error: too many decimal points in number 99 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^~~~~~ foo.cc:99:83: error: extended character ‘ is not valid in an identifier 99 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:99:83: error: extended character ’ is not valid in an identifier foo.cc:99:99: error: extended character ‘ is not valid in an identifier 99 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:99:132: error: extended character ’ is not valid in an identifier 99 | 22 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1822:17: error: no type named ‘value_type’ in ‘struct std::iterator_traits’ | ^ foo.cc:102:52: error: too many decimal points in number 102 | 25 | In file included from /nix/gcc/include/c++/13.2.0/bits/stl_algobase.h:71, | ^~~~~~ foo.cc:105:52: error: too many decimal points in number 105 | 26 | from /nix/gcc/include/c++/13.2.0/algorithm:60: | ^~~~~~ foo.cc:108:30: error: too many decimal points in number 108 | 27 | /nix/gcc/include/c++/13.2.0/bits/predefined_ops.h: In instantiation of ‘constexpr bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = int; _Iterator2 = int]’: | ^~~~~~ foo.cc:108:80: error: extended character ‘ is not valid in an identifier 108 | 27 | /nix/gcc/include/c++/13.2.0/bits/predefined_ops.h: In instantiation of ‘constexpr bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = int; _Iterator2 = int]’: | ^ foo.cc:108:213: error: extended character ’ is not valid in an identifier 108 | 27 | /nix/gcc/include/c++/13.2.0/bits/predefined_ops.h: In instantiation of ‘constexpr bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = int; _Iterator2 = int]’: | ^ foo.cc:110:41: error: extended character ‘ is not valid in an identifier 110 | foo.cc:27:72: error: extended character ‘ is not valid in an identifier | ^ foo.cc:111:30: error: too many decimal points in number 111 | 27 | /nix/gcc/include/c++/13.2.0/bits/predefined_ops.h: In instantiation of ‘constexpr bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = int; _Iterator2 = int]’: | ^~~~~~ foo.cc:111:80: error: extended character ‘ is not valid in an identifier 111 | 27 | /nix/gcc/include/c++/13.2.0/bits/predefined_ops.h: In instantiation of ‘constexpr bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = int; _Iterator2 = int]’: | ^ foo.cc:111:213: error: extended character ’ is not valid in an identifier 111 | 27 | /nix/gcc/include/c++/13.2.0/bits/predefined_ops.h: In instantiation of ‘constexpr bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = int; _Iterator2 = int]’: | ^ foo.cc:113:42: error: extended character ’ is not valid in an identifier 113 | foo.cc:27:205: error: extended character ’ is not valid in an identifier | ^ foo.cc:114:30: error: too many decimal points in number 114 | 27 | /nix/gcc/include/c++/13.2.0/bits/predefined_ops.h: In instantiation of ‘constexpr bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = int; _Iterator2 = int]’: | ^~~~~~ foo.cc:114:80: error: extended character ‘ is not valid in an identifier 114 | 27 | /nix/gcc/include/c++/13.2.0/bits/predefined_ops.h: In instantiation of ‘constexpr bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = int; _Iterator2 = int]’: | ^ foo.cc:114:213: error: extended character ’ is not valid in an identifier 114 | 27 | /nix/gcc/include/c++/13.2.0/bits/predefined_ops.h: In instantiation of ‘constexpr bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = int; _Iterator2 = int]’: | ^ foo.cc:117:30: error: too many decimal points in number 117 | 28 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1819:14: required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^~~~~~ foo.cc:117:78: error: extended character ‘ is not valid in an identifier 117 | 28 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1819:14: required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:117:242: error: extended character ’ is not valid in an identifier 117 | 28 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1819:14: required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:119:41: error: extended character ‘ is not valid in an identifier 119 | foo.cc:28:70: error: extended character ‘ is not valid in an identifier | ^ foo.cc:120:30: error: too many decimal points in number 120 | 28 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1819:14: required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^~~~~~ foo.cc:120:78: error: extended character ‘ is not valid in an identifier 120 | 28 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1819:14: required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:120:242: error: extended character ’ is not valid in an identifier 120 | 28 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1819:14: required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:122:42: error: extended character ’ is not valid in an identifier 122 | foo.cc:28:234: error: extended character ’ is not valid in an identifier | ^ foo.cc:123:30: error: too many decimal points in number 123 | 28 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1819:14: required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^~~~~~ foo.cc:123:78: error: extended character ‘ is not valid in an identifier 123 | 28 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1819:14: required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:123:242: error: extended character ’ is not valid in an identifier 123 | 28 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1819:14: required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:126:30: error: too many decimal points in number 126 | 29 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1859:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^~~~~~ foo.cc:126:78: error: extended character ‘ is not valid in an identifier 126 | 29 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1859:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:126:248: error: extended character ’ is not valid in an identifier 126 | 29 | /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1859:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ | ^ foo.cc:128:41: error: extended character ‘ is not valid in an identifier 128 | foo.cc:29:70: error: extended character ‘ is not valid in an identifier | ^ foo.cc:129:30: error: too many decimal points in number

    • 1
      @ 2024-2-20 10:28:54
      #include<iostream> 
      using namespace std;
      int main() { 
          cout<<"*"<<endl;
          cout<<"**"<<endl;
          cout<<"***"<<endl;
          return 0;
      }
      
      • -2
        @ 2024-3-24 14:40:00
        #include<iostream> 
        using namespace std;
        int main() { 
            cout<<"*"<<endl;
            cout<<"**"<<endl;
            cout<<"***"<<endl;
            return 0;
        }
        
        • -2
          @ 2024-2-21 9:08:00
          #include<iostream> 
          using namespace std;
          int main() { 
              cout<<"*"<<endl;
              cout<<"**"<<endl;
              cout<<"***"<<endl;
              return 0;
          }
          
          • -2
            @ 2024-2-20 10:33:47
            #include<iostream> 
            using namespace std;
            int main() { 
                cout<<"*"<<endl;
                cout<<"**"<<endl;
                cout<<"***"<<endl;
                return 0;
            }
            
            • -2
              @ 2024-2-20 10:28:12
              #include<iostream> 
              using namespace std;
              int main() { 
                  cout<<"*"<<endl;
                  cout<<"**"<<endl;
                  cout<<"***"<<endl;
                  return 0;
              }
              
              • -2
                @ 2024-2-20 9:05:50

                #include using namespace std; int main() { cout<<""<<endl; cout<<""<<endl; cout<<""<<endl; return 0; }

                • 1

                信息

                ID
                2152
                时间
                1000ms
                内存
                256MiB
                难度
                1
                标签
                递交数
                1336
                已通过
                441
                上传者