Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<n;i++)
  ^~~
/in/foo.cc:14:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   cout<<sum/2;
   ^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Accepted 1ms 364.0 KiB
#3 Accepted 2ms 332.0 KiB
#4 Accepted 420ms 420.0 KiB

信息

递交者
类型
递交
题目
P2588 勾股数2级2 2023年模拟题
比赛
春季中级班GESP二三级编程比赛
语言
C++
递交时间
2024-03-10 20:34:32
评测时间
2024-03-10 20:34:32
评测机
分数
100
总耗时
426ms
峰值内存
420.0 KiB