Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138182 林鑫磊 数组输出 C++ Compile Error 0 MS 0 KB 177 2025-11-23 17:09:45

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int a,s,d,f,g,h,j,k,l,p; cin>>a,s,d,f,g,h,j,k,l,p; cout<<a<<s<<d<<f<<g<<h<<j<<k<<l<<p<<" " return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:14: warning: right operand of comma operator has no effect [-Wunused-value]
     cin>>a,s,d,f,g,h,j,k,l,p;
              ^
Main.cc:5:16: warning: right operand of comma operator has no effect [-Wunused-value]
     cin>>a,s,d,f,g,h,j,k,l,p;
                ^
Main.cc:5:18: warning: right operand of comma operator has no effect [-Wunused-value]
     cin>>a,s,d,f,g,h,j,k,l,p;
                  ^
Main.cc:5:20: warning: right operand of comma operator has no effect [-Wunused-value]
     cin>>a,s,d,f,g,h,j,k,l,p;
                    ^
Main.cc:5:22: warning: right operand of comma operator has no effect [-Wunused-value]
     cin>>a,s,d,f,g,h,j,k,l,p;
                      ^
Main.cc:5:24: warning: right operand of comma operator has no effect [-Wunused-value]
     cin>>a,s,d,f,g,h,j,k,l,p;
                        ^
Main.cc:5:26: warning: right operand of comma operator has no effect [-Wunused-value]
     cin>>a,s,d,f,g,h,j,k,l,p;
                          ^
Main.cc:5:28: warning: right operand of comma operator has no effect [-Wunused-value]
     cin>>a,s,d,f,g,h,j,k,l,p;
                            ^
Main.cc:5:29: warning: right operand of comma operator has no effect [-Wunused-value]
     cin>>a,s,d,f,g,h,j,k,l,p;
                             ^
Main.cc:7:5: error: expected ';' before 'return'
     return 0;
     ^