记录详情

Compile Error

/in/foo.cc:5:1: error: stray '\302' in program
     int n;
 ^
/in/foo.cc:5:2: error: stray '\240' in program
     int n;
  ^
/in/foo.cc:5:4: error: stray '\302' in program
     int n;
    ^
/in/foo.cc:5:5: error: stray '\240' in program
     int n;
     ^
/in/foo.cc:6:1: error: stray '\302' in program
     cin >> n;
 ^
/in/foo.cc:6:2: error: stray '\240' in program
     cin >> n;
  ^
/in/foo.cc:6:4: error: stray '\302' in program
     cin >> n;
    ^
/in/foo.cc:6:5: error: stray '\240' in program
     cin >> n;
     ^
/in/foo.cc:7:1: error: stray '\302' in program
     double score[n];
 ^
/in/foo.cc:7:2: error: stray '\240' in program
     double score[n];
  ^
/in/foo.cc:7:4: error: stray '\302' in program
     double score[n];
    ^
/in/foo.cc:7:5: error: stray '\240' in program
     double score[n];
     ^
/in/foo.cc:8:1: error: stray '\302' in program
     double total = 0;
 ^
/in/foo.cc:8:2: error: stray '\240' in program
     double total = 0;
  ^
/in/foo.cc:8:4: error: stray '\302' in program
     double total = 0;
    ^
/in/foo.cc:8:5: error: stray '\240' in program
     double total = 0;
     ^
/in/foo.cc:9:1: error: stray '\302' in program
     for(int i = 0; i < n; i++)
 ^
/in/foo.cc:9:2: error: stray '\240' in program
     for(int i = 0; i < n; i++)
  ^
/in/foo.cc:9:4: error: stray '\302' in program
     for(int i = 0; i < n; i++)
    ^
/in/foo.cc:9:5: error: stray '\240' in program
     for(int i = 0; i < n; i++)
     ^
/in/foo.cc:10:1: error: stray '\302' in program
     {
 ^
/in/foo.cc:10:2: error: stray '\240' in program
     {
  ^
/in/foo.cc:10:4: error: stray '\302' in program
     {
    ^
/in/foo.cc:10:5: error: stray '\240' in program
     {
     ^
/in/foo.cc:11:1: error: stray '\302' in program
         cin >> score[i];
 ^
/in/foo.cc:11:2: error: stray '\240' in program
         cin >> score[i];
  ^
/in/foo.cc:11:4: error: stray '\302' in program
         cin >> score[i];
    ^
/in/foo.cc:11:5: error: stray '\240' in program
         cin >> score[i];
     ^
/in/foo.cc:11:7: error: stray '\302' in program
         cin >> score[i];
       ^
/in/foo.cc:11:8: error: stray '\240' in program
         cin >> score[i];
        ^
/in/foo.cc:11:10: error: stray '\302' in program
         cin >> score[i];
          ^
/in/foo.cc:11:11: error: stray '\240' in program
         cin >> score[i];
           ^
/in/foo.cc:13:1: error: stray '\302' in program
     }
 ^
/in/foo.cc:13:2: error: stray '\240' in program
     }
  ^
/in/foo.cc:13:4: error: stray '\302' in program
     }
    ^
/in/foo.cc:13:5: error: stray '\240' in program
     }
     ^
/in/foo.cc:14:1: error: stray '\302' in program
     for(int j = 0; j< n; j++)
 ^
/in/foo.cc:14:2: error: stray '\240' in program
     for(int j = 0; j< n; j++)
  ^
/in/foo.cc:14:4: error: stray '\302' in program
     for(int j = 0; j< n; j++)
    ^
/in/foo.cc:14:5: error: stray '\240' in program
     for(int j = 0; j< n; j++)
     ^
/in/foo.cc:15:1: error: stray '\302' in program
     {
 ^
/in/foo.cc:15:2: error: stray '\240' in program
     {
  ^
/in/foo.cc:15:4: error: stray '\302' in program
     {
    ^
/in/foo.cc:15:5: error: stray '\240' in program
     {
     ^
/in/foo.cc:16:1: error: stray '\302' in program
         total += score[j];
 ^
/in/foo.cc:16:2: error: stray '\240' in program
         total += score[j];
  ^
/in/foo.cc:16:4: error: stray '\302' in program
         total += score[j];
    ^
/in/foo.cc:16:5: error: stray '\240' in program
         total += score[j];
     ^
/in/foo.cc:16:7: error: stray '\302' in program
         total += score[j];
       ^
/in/foo.cc:16:8: error: stray '\240' in program
         total += score[j];
        ^
/in/foo.cc:16:10: error: stray '\302' in program
         total += score[j];
          ^
/in/foo.cc:16:11: error: stray '\240' in program
         total += score[j];
           ^
/in/foo.cc:17:1: error: stray '\302' in program
     }
 ^
/in/foo.cc:17:2: error: stray '\240' in program
     }
  ^
/in/foo.cc:17:4: error: stray '\302' in program
     }
    ^
/in/foo.cc:17:5: error: stray '\240' in program
     }
     ^
/in/foo.cc:18:1: error: stray '\302' in program
     printf("%.1f\n", float(total));
 ^
/in/foo.cc:18:2: error: stray '\240' in program
     printf("%.1f\n", float(total));
  ^
/in/foo.cc:18:4: error: stray '\302' in program
     printf("%.1f\n", float(total));
    ^
/in/foo.cc:18:5: error: stray '\240' in program
     printf("%.1f\n", float(total));
     ^
/in/foo.cc:19:1: error: stray '\302' in program
     return 0;
 ^
/in/foo.cc:19:2: error: stray '\240' in program
     return 0;
  ^
/in/foo.cc:19:4: error: stray '\302' in program
     return 0;
    ^
/in/foo.cc:19:5: error: stray '\240' in program
     return 0;
     ^

信息

递交者
类型
递交
题目
P1005 考试分数计算
比赛
学段课25日
语言
C++
递交时间
2019-04-25 10:36:09
评测时间
2019-04-25 10:36:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes