/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<cstdio> include<cmath>
 ^
foo.cpp: In function 'int main()':
foo.cpp:6:14: error: 'scanf' was not declared in this scope
 scanf("%d",&k);
              ^
foo.cpp:12:26: error: 'printf' was not declared in this scope
 if(m==1)printf("lolanv\n");
                          ^
foo.cpp:13:21: error: 'printf' was not declared in this scope
 else printf("wind\n");
                     ^
foo.cpp:5:13: warning: unused variable 's' [-Wunused-variable]
 int k,n,m,i,s=0,ans=0,a;
             ^
foo.cpp:5:17: warning: unused variable 'ans' [-Wunused-variable]
 int k,n,m,i,s=0,ans=0,a;
                 ^

信息

递交者
类型
递交
题目
P1281 Easy Selection
语言
C++
递交时间
2015-10-05 17:48:07
评测时间
2015-10-05 17:48:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes