/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include <cstdio>
 ^
foo.cpp: In function 'int main()':
foo.cpp:12:20: error: 'scanf' was not declared in this scope
 scanf("%d %d",&n,&x);
                    ^
foo.cpp:13:45: error: 'Count' was not declared in this scope
 for(int i = 1; i <= n; i++) cnt += Count(i,x);
                                             ^
foo.cpp:14:16: error: 'printf' was not declared in this scope
 printf("%d",cnt);
                ^

信息

递交者
类型
递交
题目
P1848 记数问题
语言
C++
递交时间
2016-07-09 18:40:48
评测时间
2016-07-09 18:40:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes