/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'void one::init()':
foo.cpp:15:32: error: 'scanf' was not declared in this scope
             scanf("%d", sum + i);
                                ^
foo.cpp: In function 'void one::work()':
foo.cpp:21:32: error: 'memset' was not declared in this scope
         memset(dp, 0, sizeof dp);
                                ^
foo.cpp:29:32: error: 'printf' was not declared in this scope
         printf("%d\n", dp[N][K]);
                                ^
foo.cpp: In function 'void two::init()':
foo.cpp:39:39: error: 'scanf' was not declared in this scope
                 scanf("%d", &sum[i][j]);
                                       ^
foo.cpp: In function 'void two::work()':
foo.cpp:45:32: error: 'memset' was not declared in this scope
         memset(dp, 0, sizeof dp);
                                ^
foo.cpp:66:35: error: 'printf' was not declared in this scope
         printf("%d\n", dp[N][N][K]);
                                   ^

信息

递交者
类型
递交
题目
P1191 最大子矩阵
语言
C++
递交时间
2016-11-15 14:57:50
评测时间
2016-11-15 14:57:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes