Compile Error

foo.cc: In function ‘int main()’:
foo.cc:10:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |         for(int i=1;i<=a;i++)
      |                     ~^~~

信息

递交者
类型
递交
题目
P3069 算力 202602saccc四级T1
语言
C++
递交时间
2026-10-15 20:45:50
评测时间
2026-10-15 20:45:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes