记录详情

Compile Error

foo.cc:6:10: error: extended character “ is not valid in an identifier
    6 |    scanf(“%d”,&k);
      |          ^
foo.cc:6:12: error: extended character ” is not valid in an identifier
    6 |    scanf(“%d”,&k);
      |            ^
foo.cc:8:10: error: extended character “ is not valid in an identifier
    8 |   printf(“%d %d”,a,b);
      |          ^
foo.cc:8:15: error: extended character ” is not valid in an identifier
    8 |   printf(“%d %d”,a,b);
      |               ^
foo.cc:12:11: error: extended character “ is not valid in an identifier
   12 |    printf(“%d ”,c);
      |           ^
foo.cc:12:15: error: extended character ” is not valid in an identifier
   12 |    printf(“%d ”,c);
      |               ^
foo.cc: In function 'int main()':
foo.cc:6:10: error: '\U0000201c' was not declared in this scope
    6 |    scanf(“%d”,&k);
      |          ^
foo.cc:6:12: error: 'd\U0000201d' was not declared in this scope
    6 |    scanf(“%d”,&k);
      |            ^~
foo.cc:8:12: error: 'd' was not declared in this scope
    8 |   printf(“%d %d”,a,b);
      |            ^
foo.cc:5:16: warning: unused variable 's' [-Wunused-variable]
    5 |    int a,b,c,k,s;
      |                ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A2-2 循环结构入门:斐波拉契数列
比赛
2022年迎新赛(第一场)
语言
C++
递交时间
2022-08-15 15:59:07
评测时间
2022-08-15 15:59:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes