Submission #00674


ソースコード

ステータス

項目 データ
問題 0018 - 指輪 (Ring)
ユーザー名 r2222
投稿日時 2022-06-10 16:18:43
言語 C++
状態 Compile Error
得点 0
ソースコード長 360 Byte
最大実行時間 -
最大メモリ使用量

コンパイルメッセージ

./Main.cpp:12:15: error: stray ‘\342’ in program
         cout<<“Yes”<<“\n”;
               ^
./Main.cpp:12:16: error: stray ‘\200’ in program
         cout<<“Yes”<<“\n”;
                ^
./Main.cpp:12:17: error: stray ‘\234’ in program
         cout<<“Yes”<<“\n”;
                 ^
./Main.cpp:12:21: error: stray ‘\342’ in program
         cout<<“Yes”<<“\n”;
                     ^
./Main.cpp:12:22: error: stray ‘\200’ in program
         cout<<“Yes”<<“\n”;
                      ^
./Main.cpp:12:23: error: stray ‘\235’ in program
         cout<<“Yes”<<“\n”;
                       ^
./Main.cpp:12:26: error: stray ‘\342’ in program
         cout<<“Yes”<<“\n”;
                          ^
./Main.cpp:12:27: error: stray ‘\200’ in program
         cout<<“Yes”<<“\n”;
                           ^
./Main.cpp:12:28: error: stray ‘\234’ in program
         cout<<“Yes”<<“\n”;
                            ^
./Main.cpp:12:29: error: stray ‘\’ in program
         cout<<“Yes”<<“\n”;
                             ^
./Main.cpp:12:31: error: stray ‘\342’ in program
         cout<<“Yes”<<“\n”;
                               ^
./Main.cpp:12:32: error: stray ‘\200’ in program
         cout<<“Yes”<<“\n”;
                                ^
./Main.cpp:12:33: error: stray ‘\235’ in program
         cout<<“Yes”<<“\n”;
                                 ^
./Main.cpp:15:15: error: stray ‘\342’ in program
         cout<<“No”<<“\n”;
               ^
./Main.cpp:15:16: error: stray ‘\200’ in program
         cout<<“No”<<“\n”;
                ^
./Main.cpp:15:17: error: stray ‘\234’ in program
         cout<<“No”<<“\n”;
                 ^
./Main.cpp:15:20: error: stray ‘\342’ in program
         cout<<“No”<<“\n”;
                    ^
./Main.cpp:15:21: error: stray ‘\200’ in program
         cout<<“No”<<“\n”;
                     ^
./Main.cpp:15:22: error: stray ‘\235’ in program
         cout<<“No”<<“\n”;
                      ^
./Main.cpp:15:25: error: stray ‘\342’ in program
         cout<<“No”<<“\n”;
                         ^
./Main.cpp:15:26: error: stray ‘\200’ in program
         cout<<“No”<<“\n”;
                          ^
./Main.cpp:15:27: error: stray ‘\234’ in program
         cout<<“No”<<“\n”;
                           ^
./Main.cpp:15:28: error: stray ‘\’ in program
         cout<<“No”<<“\n”;
                            ^
./Main.cpp:15:30: error: stray ‘\342’ in program
         cout<<“No”<<“\n”;
                              ^
./Main.cpp:15:31: error: stray ‘\200’ in program
         cout<<“No”<<“\n”;
                               ^
./Main.cpp:15:32: error: stray ‘\235’ in program
         cout<<“No”<<“\n”;
                                ^
./Main.cpp: In function ‘int main()’:
./Main.cpp:10:10: error: ‘e’ was not declared in this scope
     sort(e.begin(),e.end());
          ^
./Main.cpp:11:8: warning: init-statement in selection statements only available with -std=c++17 or -std=gnu++17
     if(a[0]==a[3]&&a[4]==a[7]&&a[8]==a[11]{
        ^
./Main.cpp:11:43: error: expected ‘;’ before ‘{’ token
     if(a[0]==a[3]&&a[4]==a[7]&&a[8]==a[11]{
                                           ^
                                           ;
./Main.cpp:14:5: error: expected primary-expression before ‘else’
     else{
     ^~~~
./Main.cpp:13:6: error: expected ‘)’ before ‘else’
     }
      ^
      )
     else{
     ~~~~
./Main.cpp:11:7: note: to match this ‘(’
     if(a[0]==a[3]&&a[4]==a[7]&&a[8]==a[11]{
       ^

セット

セット 得点 Cases

テストケース

ファイル名 状態 実行時間 メモリ使用量 #