/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<stdio.h> include<string.h> 
 ^
foo.cpp: In function 'int main()':
foo.cpp:8:10: error: 'gets' was not declared in this scope
 gets(line);
          ^
foo.cpp:9:16: error: 'strlen' was not declared in this scope
 len=strlen(line);
                ^
foo.cpp:17:1: error: 'c' was not declared in this scope
 c[point]=c[point]+re(line[i]-48);
 ^
foo.cpp:17:32: error: 're' cannot be used as a function
 c[point]=c[point]+re(line[i]-48);
                                ^
foo.cpp:18:4: error: 're10' was not declared in this scope
 re=re10;
    ^
foo.cpp:27:17: error: 'c' was not declared in this scope
 scanf("%s",buck[c[j]]);
                 ^
foo.cpp:27:22: error: 'scanf' was not declared in this scope
 scanf("%s",buck[c[j]]);
                      ^
foo.cpp:31:22: error: 'printf' was not declared in this scope
 printf("%s\n",buck[j]);
                      ^
foo.cpp:7:24: warning: unused variable 'n' [-Wunused-variable]
 int point,len,re=1,i,j,n=2,count=1;
                        ^

信息

递交者
类型
递交
题目
P1389 婚礼上的小杉
语言
C++
递交时间
2016-11-24 22:23:56
评测时间
2016-11-24 22:23:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes