Compile Error

/in/foo.cc:16:20: error: stray '\342' in program
        cout<<a[j]<<“ ”;
                    ^
/in/foo.cc:16:21: error: stray '\200' in program
        cout<<a[j]<<“ ”;
                     ^
/in/foo.cc:16:22: error: stray '\234' in program
        cout<<a[j]<<“ ”;
                      ^
/in/foo.cc:16:24: error: stray '\342' in program
        cout<<a[j]<<“ ”;
                        ^
/in/foo.cc:16:25: error: stray '\200' in program
        cout<<a[j]<<“ ”;
                         ^
/in/foo.cc:16:26: error: stray '\235' in program
        cout<<a[j]<<“ ”;
                          ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:10:9: error: 'cin' was not declared in this scope
         cin<<a[i];
         ^~~
/in/foo.cc:10:9: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:75:0,
                 from /in/foo.cc:1:
/usr/include/c++/6/iostream:60:18: note:   'std::cin'
   extern istream cin;  /// Linked to standard input
                  ^~~
/in/foo.cc:14:21: warning: for increment expression has no effect [-Wunused-value]
     for( j = i-2;; j>=0; j--)    
                    ~^~~
/in/foo.cc:14:24: error: expected ')' before ';' token
     for( j = i-2;; j>=0; j--)    
                        ^
/in/foo.cc:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for( j = i-2;; j>=0; j--)    
     ^~~
/in/foo.cc:14:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for( j = i-2;; j>=0; j--)    
                          ^
/in/foo.cc:14:29: error: expected ';' before ')' token
     for( j = i-2;; j>=0; j--)    
                             ^

信息

递交者
类型
递交
比赛
2024.10.19秋季中级班练习
语言
C++
递交时间
2024-11-02 00:22:35
评测时间
2024-11-02 00:22:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes