/ Vijos /

记录详情

Compile Error

foo.cc:11:27: error: stray '\' in program
     memset(f,0,sizeof(f));\\初值0;
                           ^
foo.cc:11:28: error: stray '\' in program
     memset(f,0,sizeof(f));\\初值0;
                            ^
foo.cc:11:29: error: stray '\345' in program
     memset(f,0,sizeof(f));\\初值0;
                             ^
foo.cc:11:30: error: stray '\210' in program
     memset(f,0,sizeof(f));\\初值0;
                              ^
foo.cc:11:31: error: stray '\235' in program
     memset(f,0,sizeof(f));\\初值0;
                               ^
foo.cc:11:32: error: stray '\345' in program
     memset(f,0,sizeof(f));\\初值0;
                                ^
foo.cc:11:33: error: stray '\200' in program
     memset(f,0,sizeof(f));\\初值0;
                                 ^
foo.cc:11:34: error: stray '\274' in program
     memset(f,0,sizeof(f));\\初值0;
                                  ^
foo.cc:11:36: error: stray '\357' in program
     memset(f,0,sizeof(f));\\初值0;
                                    ^
foo.cc:11:37: error: stray '\274' in program
     memset(f,0,sizeof(f));\\初值0;
                                     ^
foo.cc:11:38: error: stray '\233' in program
     memset(f,0,sizeof(f));\\初值0;
                                      ^
foo.cc:17:31: error: stray '\' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                               ^
foo.cc:17:32: error: stray '\' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                ^
foo.cc:17:33: error: stray '\344' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                 ^
foo.cc:17:34: error: stray '\275' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                  ^
foo.cc:17:35: error: stray '\223' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                   ^
foo.cc:17:36: error: stray '\347' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                    ^
foo.cc:17:37: error: stray '\247' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                     ^
foo.cc:17:38: error: stray '\257' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                      ^
foo.cc:17:39: error: stray '\357' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                       ^
foo.cc:17:40: error: stray '\274' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                        ^
foo.cc:17:41: error: stray '\214' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                         ^
foo.cc:17:42: error: stray '\350' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                          ^
foo.cc:17:43: error: stray '\264' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                           ^
foo.cc:17:44: error: stray '\250' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                            ^
foo.cc:17:45: error: stray '\351' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                             ^
foo.cc:17:46: error: stray '\207' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                              ^
foo.cc:17:47: error: stray '\217' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                               ^
foo.cc:17:48: error: stray '\357' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                                ^
foo.cc:17:49: error: stray '\274' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                                 ^
foo.cc:17:50: error: stray '\214' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                                  ^
foo.cc:17:51: error: stray '\344' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                                   ^
foo.cc:17:52: error: stray '\273' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                                    ^
foo.cc:17:53: error: stray '\267' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                                     ^
foo.cc:17:54: error: stray '\345' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                                      ^
foo.cc:17:55: error: stray '\200' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                                       ^
foo.cc:17:56: error: stray '\274' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                                        ^
foo.cc:17:57: error: stray '\357' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                                         ^
foo.cc:17:58: error: stray '\274' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                                          ^
foo.cc:17:59: error: stray '\233' in program
         cin>>a[i]>>b[i]>>c[i];\\体积,质量,价值;
                                                           ^
foo.cc:24:54: error: stray '\' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                      ^
foo.cc:24:55: error: stray '\' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                       ^
foo.cc:24:56: error: stray '\347' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                        ^
foo.cc:24:57: error: stray '\233' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                         ^
foo.cc:24:58: error: stray '\270' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                          ^
foo.cc:24:59: error: stray '\345' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                           ^
foo.cc:24:60: error: stray '\275' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                            ^
foo.cc:24:61: error: stray '\223' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                             ^
foo.cc:24:62: error: stray '\344' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                              ^
foo.cc:24:63: error: stray '\272' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                               ^
foo.cc:24:64: error: stray '\216' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                ^
foo.cc:24:67: error: stray '\350' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                   ^
foo.cc:24:68: error: stray '\203' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                    ^
foo.cc:24:69: error: stray '\214' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                     ^
foo.cc:24:70: error: stray '\345' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                      ^
foo.cc:24:71: error: stray '\214' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                       ^
foo.cc:24:72: error: stray '\205' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                        ^
foo.cc:24:73: error: stray '\347' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                         ^
foo.cc:24:74: error: stray '\232' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                          ^
foo.cc:24:75: error: stray '\204' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                           ^
foo.cc:24:76: error: stray '\351' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                            ^
foo.cc:24:77: error: stray '\202' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                             ^
foo.cc:24:78: error: stray '\243' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                              ^
foo.cc:24:79: error: stray '\344' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                               ^
foo.cc:24:80: error: stray '\270' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                ^
foo.cc:24:81: error: stray '\252' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                 ^
foo.cc:24:82: error: stray '\350' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                  ^
foo.cc:24:83: error: stray '\241' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                   ^
foo.cc:24:84: error: stray '\250' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                    ^
foo.cc:24:85: error: stray '\357' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                     ^
foo.cc:24:86: error: stray '\274' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                      ^
foo.cc:24:87: error: stray '\233' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                       ^
foo.cc:24:91: error: stray '\346' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                           ^
foo.cc:24:92: error: stray '\257' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                            ^
foo.cc:24:93: error: stray '\224' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                             ^
foo.cc:24:94: error: stray '\350' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                              ^
foo.cc:24:95: error: stray '\276' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                               ^
foo.cc:24:96: error: stray '\203' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                ^
foo.cc:24:97: error: stray '\357' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                 ^
foo.cc:24:98: error: stray '\274' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                  ^
foo.cc:24:99: error: stray '\214' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                   ^
foo.cc:24:100: error: stray '\345' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                    ^
foo.cc:24:101: error: stray '\276' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                     ^
foo.cc:24:102: error: stray '\227' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                      ^
foo.cc:24:103: error: stray '\346' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                       ^
foo.cc:24:104: error: stray '\234' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                        ^
foo.cc:24:105: error: stray '\200' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                         ^
foo.cc:24:106: error: stray '\344' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                          ^
foo.cc:24:107: error: stray '\274' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                           ^
foo.cc:24:108: error: stray '\230' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                            ^
foo.cc:24:109: error: stray '\357' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                             ^
foo.cc:24:110: error: stray '\274' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                              ^
foo.cc:24:111: error: stray '\233' in program
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                                               ^
foo.cc:27:31: error: stray '\' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                               ^
foo.cc:27:32: error: stray '\' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                ^
foo.cc:27:33: error: stray '\350' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                 ^
foo.cc:27:34: error: stray '\276' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                  ^
foo.cc:27:35: error: stray '\223' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                   ^
foo.cc:27:36: error: stray '\345' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                    ^
foo.cc:27:37: error: stray '\207' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                     ^
foo.cc:27:38: error: stray '\272' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                      ^
foo.cc:27:39: error: stray '\346' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                       ^
foo.cc:27:40: error: stray '\234' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                        ^
foo.cc:27:41: error: stray '\200' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                         ^
foo.cc:27:42: error: stray '\345' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                          ^
foo.cc:27:43: error: stray '\244' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                           ^
foo.cc:27:44: error: stray '\247' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                            ^
foo.cc:27:45: error: stray '\345' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                             ^
foo.cc:27:46: error: stray '\256' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                              ^
foo.cc:27:47: error: stray '\271' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                               ^
foo.cc:27:48: error: stray '\347' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                ^
foo.cc:27:49: error: stray '\247' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                 ^
foo.cc:27:50: error: stray '\257' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                  ^
foo.cc:27:51: error: stray '\357' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                   ^
foo.cc:27:52: error: stray '\274' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                    ^
foo.cc:27:53: error: stray '\214' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                     ^
foo.cc:27:54: error: stray '\350' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                      ^
foo.cc:27:55: error: stray '\264' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                       ^
foo.cc:27:56: error: stray '\250' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                        ^
foo.cc:27:57: error: stray '\351' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                         ^
foo.cc:27:58: error: stray '\207' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                          ^
foo.cc:27:59: error: stray '\217' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                           ^
foo.cc:27:60: error: stray '\346' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                            ^
foo.cc:27:61: error: stray '\227' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                             ^
foo.cc:27:62: error: stray '\266' in program
     cout<<f[Vmax][Mmax]<<endl;\\输出最大容积,质量时
                                                              ^
foo.cc: In function 'int main()':
foo.cc:12:5: error: expected ';' before 'cin'
     cin>>Vmax>>Mmax;
     ^~~
foo.cc:12:20: warning: statement has no effect [-Wunused-value]
     cin>>Vmax>>Mmax;
                    ^
foo.cc:24:88: error: expected ';' before 'max'
         f[i][j]=max(f[i][j],f[i-a[k]][j-b[k]]+c[k]); \\相当于01背包的那个表;max比较,得最优;
                                                                                        ^~~
foo.cc:24:88: warning: statement has no effect [-Wunused-value]
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1334 NASA的食物计划
语言
C++
递交时间
2021-11-12 19:13:36
评测时间
2021-11-12 19:13:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes