/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:10:22: error: 'stdin' was not declared in this scope
     freopen("in","r",stdin);
                      ^
foo.cpp:10:27: error: 'freopen' was not declared in this scope
     freopen("in","r",stdin);
                           ^
foo.cpp:13:24: error: 'memset' was not declared in this scope
     memset(f,0,sizeof f);
                        ^
foo.cpp:20:21: error: 'scanf' was not declared in this scope
     scanf("%d",&test);
                     ^
foo.cpp:24:50: error: 'printf' was not declared in this scope
         printf("%d\n",(f[n][m]-f[n][m-1]+mo) % mo);
                                                  ^
foo.cpp:27:17: error: 'fclose' was not declared in this scope
     fclose(stdin);
                 ^

信息

递交者
类型
递交
题目
P1757 逆序对
语言
C++
递交时间
2016-10-26 20:23:56
评测时间
2016-10-26 20:23:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes