/ Vijos /

记录详情

Compile Error

/in/foo.cc:13:1: error: stray '\302' in program
     if(k==m)//已经选了m-1个
 ^
/in/foo.cc:13:2: error: stray '\240' in program
     if(k==m)//已经选了m-1个
  ^
/in/foo.cc:13:4: error: stray '\302' in program
     if(k==m)//已经选了m-1个
    ^
/in/foo.cc:13:5: error: stray '\240' in program
     if(k==m)//已经选了m-1个
     ^
/in/foo.cc:14:1: error: stray '\302' in program
     {
 ^
/in/foo.cc:14:2: error: stray '\240' in program
     {
  ^
/in/foo.cc:14:4: error: stray '\302' in program
     {
    ^
/in/foo.cc:14:5: error: stray '\240' in program
     {
     ^
/in/foo.cc:15:1: error: stray '\302' in program
         if(sum*2+1>=n)
 ^
/in/foo.cc:15:2: error: stray '\240' in program
         if(sum*2+1>=n)
  ^
/in/foo.cc:15:4: error: stray '\302' in program
         if(sum*2+1>=n)
    ^
/in/foo.cc:15:5: error: stray '\240' in program
         if(sum*2+1>=n)
     ^
/in/foo.cc:15:7: error: stray '\302' in program
         if(sum*2+1>=n)
       ^
/in/foo.cc:15:8: error: stray '\240' in program
         if(sum*2+1>=n)
        ^
/in/foo.cc:15:10: error: stray '\302' in program
         if(sum*2+1>=n)
          ^
/in/foo.cc:15:11: error: stray '\240' in program
         if(sum*2+1>=n)
           ^
/in/foo.cc:16:1: error: stray '\302' in program
             if(sum+mx+1>=n) cnt+=sum-mx+1;
 ^
/in/foo.cc:16:2: error: stray '\240' in program
             if(sum+mx+1>=n) cnt+=sum-mx+1;
  ^
/in/foo.cc:16:4: error: stray '\302' in program
             if(sum+mx+1>=n) cnt+=sum-mx+1;
    ^
/in/foo.cc:16:5: error: stray '\240' in program
             if(sum+mx+1>=n) cnt+=sum-mx+1;
     ^
/in/foo.cc:16:7: error: stray '\302' in program
             if(sum+mx+1>=n) cnt+=sum-mx+1;
       ^
/in/foo.cc:16:8: error: stray '\240' in program
             if(sum+mx+1>=n) cnt+=sum-mx+1;
        ^
/in/foo.cc:16:10: error: stray '\302' in program
             if(sum+mx+1>=n) cnt+=sum-mx+1;
          ^
/in/foo.cc:16:11: error: stray '\240' in program
             if(sum+mx+1>=n) cnt+=sum-mx+1;
           ^
/in/foo.cc:16:13: error: stray '\302' in program
             if(sum+mx+1>=n) cnt+=sum-mx+1;
             ^
/in/foo.cc:16:14: error: stray '\240' in program
             if(sum+mx+1>=n) cnt+=sum-mx+1;
              ^
/in/foo.cc:16:16: error: stray '\302' in program
             if(sum+mx+1>=n) cnt+=sum-mx+1;
                ^
/in/foo.cc:16:17: error: stray '\240' in program
             if(sum+mx+1>=n) cnt+=sum-mx+1;
                 ^
/in/foo.cc:17:1: error: stray '\302' in program
             else cnt+=sum*2+2-n;
 ^
/in/foo.cc:17:2: error: stray '\240' in program
             else cnt+=sum*2+2-n;
  ^
/in/foo.cc:17:4: error: stray '\302' in program
             else cnt+=sum*2+2-n;
    ^
/in/foo.cc:17:5: error: stray '\240' in program
             else cnt+=sum*2+2-n;
     ^
/in/foo.cc:17:7: error: stray '\302' in program
             else cnt+=sum*2+2-n;
       ^
/in/foo.cc:17:8: error: stray '\240' in program
             else cnt+=sum*2+2-n;
        ^
/in/foo.cc:17:10: error: stray '\302' in program
             else cnt+=sum*2+2-n;
          ^
/in/foo.cc:17:11: error: stray '\240' in program
             else cnt+=sum*2+2-n;
           ^
/in/foo.cc:17:13: error: stray '\302' in program
             else cnt+=sum*2+2-n;
             ^
/in/foo.cc:17:14: error: stray '\240' in program
             else cnt+=sum*2+2-n;
              ^
/in/foo.cc:17:16: error: stray '\302' in program
             else cnt+=sum*2+2-n;
                ^
/in/foo.cc:17:17: error: stray '\240' in program
             else cnt+=sum*2+2-n;
                 ^
/in/foo.cc:18:1: error: stray '\302' in program
         return ;
 ^
/in/foo.cc:18:2: error: stray '\240' in program
         return ;
  ^
/in/foo.cc:18:4: error: stray '\302' in program
         return ;
    ^
/in/foo.cc:18:5: error: stray '\240' in program
         return ;
     ^
/in/foo.cc:18:7: error: stray '\302' in program
         return ;
       ^
/in/foo.cc:18:8: error: stray '\240' in program
         return ;
        ^
/in/foo.cc:18:10: error: stray '\302' in program
         return ;
          ^
/in/foo.cc:18:11: error: stray '\240' in program
         return ;
           ^
/in/foo.cc:19:1: error: stray '\302' in program
     }
 ^
/in/foo.cc:19:2: error: stray '\240' in program
     }
  ^
/in/foo.cc:19:4: error: stray '\302' in program
     }
    ^
/in/foo.cc:19:5: error: stray '\240' in program
     }
     ^
/in/foo.cc:20:1: error: stray '\302' in program
     for(int i=mx+1;i<=sum+1;i++) dfs(k+1,i,sum+i);
 ^
/in/foo.cc:20:2: error: stray '\240' in program
     for(int i=mx+1;i<=sum+1;i++) dfs(k+1,i,sum+i);
  ^
/in/foo.cc:20:4: error: stray '\302' in program
     for(int i=mx+1;i<=sum+1;i++) dfs(k+1,i,sum+i);
    ^
/in/foo.cc:20:5: error: stray '\240' in program
     for(int i=mx+1;i<=sum+1;i++) dfs(k+1,i,sum+i);
     ^
/in/foo.cc:25:1: error: stray '\302' in program
     scanf("%d",&n);
 ^
/in/foo.cc:25:2: error: stray '\240' in program
     scanf("%d",&n);
  ^
/in/foo.cc:25:4: error: stray '\302' in program
     scanf("%d",&n);
    ^
/in/foo.cc:25:5: error: stray '\240' in program
     scanf("%d",&n);
     ^
/in/foo.cc:26:1: error: stray '\302' in program
     m=1;for(int i=1;i<=n;i<<=1) m++;m--;
 ^
/in/foo.cc:26:2: error: stray '\240' in program
     m=1;for(int i=1;i<=n;i<<=1) m++;m--;
  ^
/in/foo.cc:26:4: error: stray '\302' in program
     m=1;for(int i=1;i<=n;i<<=1) m++;m--;
    ^
/in/foo.cc:26:5: error: stray '\240' in program
     m=1;for(int i=1;i<=n;i<<=1) m++;m--;
     ^
/in/foo.cc:27:1: error: stray '\302' in program
     dfs(1,0,0);
 ^
/in/foo.cc:27:2: error: stray '\240' in program
     dfs(1,0,0);
  ^
/in/foo.cc:27:4: error: stray '\302' in program
     dfs(1,0,0);
    ^
/in/foo.cc:27:5: error: stray '\240' in program
     dfs(1,0,0);
     ^
/in/foo.cc:28:1: error: stray '\302' in program
     printf("%d %d\n",m,cnt);
 ^
/in/foo.cc:28:2: error: stray '\240' in program
     printf("%d %d\n",m,cnt);
  ^
/in/foo.cc:28:4: error: stray '\302' in program
     printf("%d %d\n",m,cnt);
    ^
/in/foo.cc:28:5: error: stray '\240' in program
     printf("%d %d\n",m,cnt);
     ^
/in/foo.cc:29:1: error: stray '\302' in program
     return 0;
 ^
/in/foo.cc:29:2: error: stray '\240' in program
     return 0;
  ^
/in/foo.cc:29:4: error: stray '\302' in program
     return 0;
    ^
/in/foo.cc:29:5: error: stray '\240' in program
     return 0;
     ^
/in/foo.cc: In function 'void dfs(int, int, int)':
/in/foo.cc:15:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
         if(sum*2+1>=n)
               ^

信息

递交者
类型
递交
题目
P1154 买蛋糕
语言
C++
递交时间
2020-11-07 10:51:24
评测时间
2020-11-07 10:51:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes