记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:70:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<n.length();i++)
               ~^~~~~~~~~~~
/in/foo.cc:81:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (;k>=1;k--)
  ^~~
/in/foo.cc:82:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   printf("%d",c[k]);printf("\n"); 
                     ^~~~~~
/in/foo.cc:57:7: warning: unused variable 's' [-Wunused-variable]
  char s[]="square.in";
       ^
/in/foo.cc:58:7: warning: unused variable 't' [-Wunused-variable]
  char t[]="square.out";
       ^
# 状态 耗时 内存占用
#1 Accepted 47ms 328.0 KiB
#2 Accepted 53ms 316.0 KiB
#3 Accepted 57ms 316.0 KiB
#4 Accepted 55ms 332.0 KiB
#5 Accepted 48ms 316.0 KiB
#6 Accepted 49ms 316.0 KiB
#7 Accepted 45ms 332.0 KiB
#8 Accepted 45ms 312.0 KiB
#9 Accepted 46ms 316.0 KiB
#10 Accepted 49ms 332.0 KiB

信息

递交者
类型
递交
题目
完全平方数 (square.*)
题目数据
下载
语言
C++
递交时间
2018-10-27 16:26:43
评测时间
2018-10-27 16:26:43
评测机
分数
100
总耗时
496ms
峰值内存
332.0 KiB