记录详情

Compile Error

/in/foo.cc:18:1: error: stray '\302' in program
   if (p == 0) {
 ^
/in/foo.cc:18:2: error: stray '\240' in program
   if (p == 0) {
  ^
/in/foo.cc:19:1: error: stray '\302' in program
     if (v == n && s < ans) ans = s;
 ^
/in/foo.cc:19:2: error: stray '\240' in program
     if (v == n && s < ans) ans = s;
  ^
/in/foo.cc:19:3: error: stray '\302' in program
     if (v == n && s < ans) ans = s;
   ^
/in/foo.cc:19:4: error: stray '\240' in program
     if (v == n && s < ans) ans = s;
    ^
/in/foo.cc:19:5: error: stray '\302' in program
     if (v == n && s < ans) ans = s;
     ^
/in/foo.cc:19:6: error: stray '\240' in program
     if (v == n && s < ans) ans = s;
      ^
/in/foo.cc:20:1: error: stray '\302' in program
     return ;
 ^
/in/foo.cc:20:2: error: stray '\240' in program
     return ;
  ^
/in/foo.cc:20:3: error: stray '\302' in program
     return ;
   ^
/in/foo.cc:20:4: error: stray '\240' in program
     return ;
    ^
/in/foo.cc:20:5: error: stray '\302' in program
     return ;
     ^
/in/foo.cc:20:6: error: stray '\240' in program
     return ;
      ^
/in/foo.cc:21:1: error: stray '\302' in program
   }
 ^
/in/foo.cc:21:2: error: stray '\240' in program
   }
  ^
/in/foo.cc:22:1: error: stray '\302' in program
   //possible
 ^
/in/foo.cc:22:2: error: stray '\240' in program
   //possible
  ^
/in/foo.cc:23:1: error: stray '\302' in program
   if (v + b[p - 1] > n) return ;
 ^
/in/foo.cc:23:2: error: stray '\240' in program
   if (v + b[p - 1] > n) return ;
  ^
/in/foo.cc:24:1: error: stray '\302' in program
   //better
 ^
/in/foo.cc:24:2: error: stray '\240' in program
   //better
  ^
/in/foo.cc:25:1: error: stray '\302' in program
   if (s + a[p - 1] > ans) return ;
 ^
/in/foo.cc:25:2: error: stray '\240' in program
   if (s + a[p - 1] > ans) return ;
  ^
/in/foo.cc:26:1: error: stray '\302' in program
   if (2 * (n - v) / r + s>= ans) return ;
 ^
/in/foo.cc:26:2: error: stray '\240' in program
   if (2 * (n - v) / r + s>= ans) return ;
  ^
/in/foo.cc:27:1: error: stray '\302' in program
   //search the next level's height
 ^
/in/foo.cc:27:2: error: stray '\240' in program
   //search the next level's height
  ^
/in/foo.cc:28:1: error: stray '\302' in program
   for (int i = r - 1; i >= p; --i) {//for R
 ^
/in/foo.cc:28:2: error: stray '\240' in program
   for (int i = r - 1; i >= p; --i) {//for R
  ^
/in/foo.cc:29:1: error: stray '\302' in program
     if (p == m) s = i * i;
 ^
/in/foo.cc:29:2: error: stray '\240' in program
     if (p == m) s = i * i;
  ^
/in/foo.cc:29:3: error: stray '\302' in program
     if (p == m) s = i * i;
   ^
/in/foo.cc:29:4: error: stray '\240' in program
     if (p == m) s = i * i;
    ^
/in/foo.cc:29:5: error: stray '\302' in program
     if (p == m) s = i * i;
     ^
/in/foo.cc:29:6: error: stray '\240' in program
     if (p == m) s = i * i;
      ^
/in/foo.cc:30:1: error: stray '\302' in program
     int hh = min(h - 1, (n - v - b[p - 1]) / (i * i));
 ^
/in/foo.cc:30:2: error: stray '\240' in program
     int hh = min(h - 1, (n - v - b[p - 1]) / (i * i));
  ^
/in/foo.cc:30:3: error: stray '\302' in program
     int hh = min(h - 1, (n - v - b[p - 1]) / (i * i));
   ^
/in/foo.cc:30:4: error: stray '\240' in program
     int hh = min(h - 1, (n - v - b[p - 1]) / (i * i));
    ^
/in/foo.cc:30:5: error: stray '\302' in program
     int hh = min(h - 1, (n - v - b[p - 1]) / (i * i));
     ^
/in/foo.cc:30:6: error: stray '\240' in program
     int hh = min(h - 1, (n - v - b[p - 1]) / (i * i));
      ^
/in/foo.cc:31:1: error: stray '\302' in program
     for (int j = hh; j >= p; --j) search(v + i * i * j, s + 2 * i * j, p - 1, i, j);//for H
 ^
/in/foo.cc:31:2: error: stray '\240' in program
     for (int j = hh; j >= p; --j) search(v + i * i * j, s + 2 * i * j, p - 1, i, j);//for H
  ^
/in/foo.cc:31:3: error: stray '\302' in program
     for (int j = hh; j >= p; --j) search(v + i * i * j, s + 2 * i * j, p - 1, i, j);//for H
   ^
/in/foo.cc:31:4: error: stray '\240' in program
     for (int j = hh; j >= p; --j) search(v + i * i * j, s + 2 * i * j, p - 1, i, j);//for H
    ^
/in/foo.cc:31:5: error: stray '\302' in program
     for (int j = hh; j >= p; --j) search(v + i * i * j, s + 2 * i * j, p - 1, i, j);//for H
     ^
/in/foo.cc:31:6: error: stray '\240' in program
     for (int j = hh; j >= p; --j) search(v + i * i * j, s + 2 * i * j, p - 1, i, j);//for H
      ^
/in/foo.cc:32:1: error: stray '\302' in program
   }
 ^
/in/foo.cc:32:2: error: stray '\240' in program
   }
  ^
/in/foo.cc:36:1: error: stray '\302' in program
   freopen("1221.in", "r", stdin);
 ^
/in/foo.cc:36:2: error: stray '\240' in program
   freopen("1221.in", "r", stdin);
  ^
/in/foo.cc:37:1: error: stray '\302' in program
   freopen("1221.out", "w", stdout);
 ^
/in/foo.cc:37:2: error: stray '\240' in program
   freopen("1221.out", "w", stdout);
  ^
/in/foo.cc:38:1: error: stray '\302' in program
   scanf("%d %d", &n, &m);
 ^
/in/foo.cc:38:2: error: stray '\240' in program
   scanf("%d %d", &n, &m);
  ^
/in/foo.cc:39:1: error: stray '\302' in program
   for (int i = 1; i <= 20; ++i) a[i] = a[i - 1] + 2 * i * i, b[i] = b[i - 1] + i * i * i;
 ^
/in/foo.cc:39:2: error: stray '\240' in program
   for (int i = 1; i <= 20; ++i) a[i] = a[i - 1] + 2 * i * i, b[i] = b[i - 1] + i * i * i;
  ^
/in/foo.cc:40:1: error: stray '\302' in program
   search(0, 0, m, n + 1, n + 1);
 ^
/in/foo.cc:40:2: error: stray '\240' in program
   search(0, 0, m, n + 1, n + 1);
  ^
/in/foo.cc:41:1: error: stray '\302' in program
   if (ans >= INF) printf("0\n");
 ^
/in/foo.cc:41:2: error: stray '\240' in program
   if (ans >= INF) printf("0\n");
  ^
/in/foo.cc:42:1: error: stray '\302' in program
   else printf("%d\n", ans);
 ^
/in/foo.cc:42:2: error: stray '\240' in program
   else printf("%d\n", ans);
  ^
/in/foo.cc:43:1: error: stray '\302' in program
   return 0;
 ^
/in/foo.cc:43:2: error: stray '\240' in program
   return 0;
  ^

信息

递交者
类型
递交
题目
生日蛋糕
题目数据
下载
语言
C++
递交时间
2018-08-01 15:45:59
评测时间
2018-08-01 15:45:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes