/ Vijos /

记录详情

Compile Error

/in/foo.cc:107:9: error: redefinition of 'dts::ull dts::N'
     ull N,M,K;
         ^
/in/foo.cc:14:9: note: 'dts::ull dts::N' previously declared here
     ull N,M,K;
         ^
/in/foo.cc:107:11: error: redefinition of 'dts::ull dts::M'
     ull N,M,K;
           ^
/in/foo.cc:14:11: note: 'dts::ull dts::M' previously declared here
     ull N,M,K;
           ^
/in/foo.cc:107:13: error: redefinition of 'dts::ull dts::K'
     ull N,M,K;
             ^
/in/foo.cc:14:13: note: 'dts::ull dts::K' previously declared here
     ull N,M,K;
             ^
/in/foo.cc:109:12: error: redefinition of 'struct dts::matrix'
     struct matrix
            ^~~~~~
/in/foo.cc:16:12: error: previous definition of 'struct dts::matrix'
     struct matrix
            ^~~~~~
/in/foo.cc:153:12: error: redefinition of 'dts::matrix dts::a'
     matrix a,op[10],opm,opp,ans;
            ^
/in/foo.cc:60:12: note: 'dts::matrix dts::a' previously declared here
     matrix a,op[10],opm,opp,ans;
            ^
/in/foo.cc:153:19: error: redefinition of 'dts::matrix dts::op [10]'
     matrix a,op[10],opm,opp,ans;
                   ^
/in/foo.cc:60:14: note: 'dts::matrix dts::op [10]' previously declared here
     matrix a,op[10],opm,opp,ans;
              ^~
/in/foo.cc:153:21: error: redefinition of 'dts::matrix dts::opm'
     matrix a,op[10],opm,opp,ans;
                     ^~~
/in/foo.cc:60:21: note: 'dts::matrix dts::opm' previously declared here
     matrix a,op[10],opm,opp,ans;
                     ^~~
/in/foo.cc:153:25: error: redefinition of 'dts::matrix dts::opp'
     matrix a,op[10],opm,opp,ans;
                         ^~~
/in/foo.cc:60:25: note: 'dts::matrix dts::opp' previously declared here
     matrix a,op[10],opm,opp,ans;
                         ^~~
/in/foo.cc:153:29: error: redefinition of 'dts::matrix dts::ans'
     matrix a,op[10],opm,opp,ans;
                             ^~~
/in/foo.cc:60:29: note: 'dts::matrix dts::ans' previously declared here
     matrix a,op[10],opm,opp,ans;
                             ^~~
/in/foo.cc: In function 'void dts::main()':
/in/foo.cc:155:10: error: redefinition of 'void dts::main()'
     void main()
          ^~~~
/in/foo.cc:62:10: note: 'void dts::main()' previously defined here
     void main()
          ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:183:5: error: redefinition of 'int main()'
 int main()
     ^~~~
/in/foo.cc:90:5: note: 'int main()' previously defined here
 int main()
     ^~~~

信息

递交者
类型
递交
题目
P1049 送给圣诞夜的礼品
语言
C++
递交时间
2021-12-05 16:32:18
评测时间
2021-12-05 16:32:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes