/ b6e0的OJ /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:38:7: error: 'rg' was not declared in this scope
  for (rg int k=1;k<=maxv;k++)
       ^~
foo.cc:38:18: error: 'k' was not declared in this scope
  for (rg int k=1;k<=maxv;k++)
                  ^
foo.cc:2:13: error: expected ';' before 'long'
 #define int long long
             ^
foo.cc:41:11: note: in expansion of macro 'int'
   for (rg int j=k;j<=maxv;j+=k)  now+=(pre[j+k-1]-pre[j-1])*(j/k);
           ^~~
foo.cc:41:19: error: 'j' was not declared in this scope
   for (rg int j=k;j<=maxv;j+=k)  now+=(pre[j+k-1]-pre[j-1])*(j/k);
                   ^

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)

信息

递交者
类型
递交
题目
P1004 缩进
语言
C++
递交时间
2020-07-30 08:20:57
评测时间
2020-07-30 08:20:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes