Compile Error

foo.cc:4:24: warning: extra tokens at end of #include directive
 #include<bits/stdc++.h>>
                        ^
foo.cc: In function 'int main()':
foo.cc:10:10: error: expected unqualified-id before numeric constant
  for(int 1=1;i<b;i++)
          ^
foo.cc:10:10: error: expected ';' before numeric constant
foo.cc:10:12: error: lvalue required as left operand of assignment
  for(int 1=1;i<b;i++)
            ^
foo.cc:10:14: error: 'i' was not declared in this scope
  for(int 1=1;i<b;i++)
              ^
foo.cc:10:17: error: expected ')' before ';' token
  for(int 1=1;i<b;i++)
                 ^
foo.cc:10:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int 1=1;i<b;i++)
  ^~~
foo.cc:10:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  for(int 1=1;i<b;i++)
                  ^
foo.cc:10:18: error: 'i' was not declared in this scope
foo.cc:9:6: warning: unused variable 'a' [-Wunused-variable]
  int a,b;
      ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1075 A11-5 小数的循环节
语言
C++
递交时间
2021-11-28 10:57:51
评测时间
2021-11-28 10:57:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes