/ Vijos /

记录详情

Compile Error

/in/foo.cc:1:1: error: stray '\357' in program
 #include<stdio.h>
 ^
/in/foo.cc:1:2: error: stray '\274' in program
 #include<stdio.h>
  ^
/in/foo.cc:1:3: error: stray '\203' in program
 #include<stdio.h>
   ^
/in/foo.cc:2:1: error: stray '\357' in program
 #include<string.h>
 ^
/in/foo.cc:2:2: error: stray '\274' in program
 #include<string.h>
  ^
/in/foo.cc:2:3: error: stray '\203' in program
 #include<string.h>
   ^
/in/foo.cc:3:1: error: stray '\357' in program
 #include<stdlib.h>
 ^
/in/foo.cc:3:2: error: stray '\274' in program
 #include<stdlib.h>
  ^
/in/foo.cc:3:3: error: stray '\203' in program
 #include<stdlib.h>
   ^
/in/foo.cc:4:1: error: stray '\357' in program
 #define M 10
 ^
/in/foo.cc:4:2: error: stray '\274' in program
 #define M 10
  ^
/in/foo.cc:4:3: error: stray '\203' in program
 #define M 10
   ^
/in/foo.cc:5:1: error: stray '\357' in program
 #define N 600
 ^
/in/foo.cc:5:2: error: stray '\274' in program
 #define N 600
  ^
/in/foo.cc:5:3: error: stray '\203' in program
 #define N 600
   ^
/in/foo.cc:6:1: error: stray '\357' in program
 #define NN 100
 ^
/in/foo.cc:6:2: error: stray '\274' in program
 #define NN 100
  ^
/in/foo.cc:6:3: error: stray '\203' in program
 #define NN 100
   ^
/in/foo.cc:1:4: error: 'include' does not name a type
 #include<stdio.h>
    ^~~~~~~
/in/foo.cc: In function 'void base_big(void*)':
/in/foo.cc:11:21: error: 'big' was not declared in this scope
 memset(a, 0, sizeof(big));
                     ^~~
/in/foo.cc:11:25: error: 'memset' was not declared in this scope
 memset(a, 0, sizeof(big));
                         ^
/in/foo.cc: In function 'void smlt(int*, int, int*, int)':
/in/foo.cc:23:28: error: 'M' was not declared in this scope
 *(r + i + 1) += *(r + i) / M;
                            ^
/in/foo.cc:27:30: error: invalid operands of types 'int*' and 'int' to binary 'operator*'
 if(i < n) (r + i) = ((a + i) * b + * (r + i)) % M;
                      ~~~~~~~~^~~
/in/foo.cc:27:49: error: 'M' was not declared in this scope
 if(i < n) (r + i) = ((a + i) * b + * (r + i)) % M;
                                                 ^
/in/foo.cc: At global scope:
/in/foo.cc:29:12: error: variable or field 'print' declared void
 void print(big *a, int n)
            ^~~
/in/foo.cc:29:12: error: 'big' was not declared in this scope
/in/foo.cc:29:17: error: 'a' was not declared in this scope
 void print(big *a, int n)
                 ^
/in/foo.cc:29:20: error: expected primary-expression before 'int'
 void print(big *a, int n)
                    ^~~

信息

递交者
类型
递交
题目
P1363 物理课考试
语言
C++
递交时间
2019-02-23 14:22:49
评测时间
2019-02-23 14:22:49
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes