记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:6:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (i = 0; i < 3; i++)
  ^~~
/in/foo.c:8:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   if((a[0]*a[1]==a[2]*a[2])|| (a[0] * a[2] == a[1] * a[1])|| (a[2] * a[1] == a[0] * a[0]))
   ^~
/in/foo.c:5:6: warning: unused variable 't' [-Wunused-variable]
  int t,i;
      ^
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 128.0 KiB
#3 Accepted 1ms 128.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 1ms 216.0 KiB
#6 Accepted 1ms 128.0 KiB

信息

递交者
类型
递交
题目
P1251 A 等比数列
比赛
南京师范大学2021年6月程序设计竞赛(小兰赛)
语言
C
递交时间
2021-06-02 14:37:36
评测时间
2021-06-02 14:37:36
评测机
分数
120
总耗时
6ms
峰值内存
220.0 KiB