记录详情

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 is 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 45ms 412.0 KiB
#2 Accepted 72ms 468.0 KiB
#3 Accepted 47ms 484.0 KiB
#4 Accepted 47ms 468.0 KiB
#5 Accepted 75ms 468.0 KiB
#6 Accepted 81ms 484.0 KiB
#7 Accepted 63ms 384.0 KiB
#8 Accepted 71ms 384.0 KiB
#9 Accepted 43ms 504.0 KiB
#10 Accepted 56ms 472.0 KiB

信息

递交者
类型
递交
题目
完全平方数 (square.*)
题目数据
下载
语言
C++
递交时间
2018-08-22 17:35:34
评测时间
2018-08-22 17:35:34
评测机
分数
100
总耗时
604ms
峰值内存
504.0 KiB