Compile Error

foo.cc: In function ‘int main()’:
foo.cc:10:9: error: ‘ints’ was not declared in this scope; did you mean ‘int’?
   10 |         ints=1;
      |         ^~~~
      |         int
foo.cc:11:13: error: ‘inti’ was not declared in this scope; did you mean ‘int’?
   11 |         for(inti=1; i<=n; i++) {
      |             ^~~~
      |             int
foo.cc:11:21: error: ‘i’ was not declared in this scope
   11 |         for(inti=1; i<=n; i++) {
      |                     ^
foo.cc:15:13: error: ‘intj’ was not declared in this scope; did you mean ‘int’?
   15 |         for(intj=1; j<=m; j++) {
      |             ^~~~
      |             int
foo.cc:15:21: error: ‘j’ was not declared in this scope
   15 |         for(intj=1; j<=m; j++) {
      |                     ^
foo.cc:16:21: error: ‘intk’ was not declared in this scope; did you mean ‘int’?
   16 |                 for(intk=s; k<=n; k++) {
      |                     ^~~~
      |                     int
foo.cc:16:26: error: ‘s’ was not declared in this scope
   16 |                 for(intk=s; k<=n; k++) {
      |                          ^
foo.cc:16:29: error: ‘k’ was not declared in this scope
   16 |                 for(intk=s; k<=n; k++) {
      |                             ^

信息

递交者
类型
递交
题目
P2629 做题4级2 2024.3
语言
C++
递交时间
2026-08-19 21:51:18
评测时间
2026-08-25 08:05:28
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes