/ Vijos /

记录详情

Wrong Answer

foo.cpp: In function 'int Prlindrome(char*)':
foo.cpp:7:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i = 0; i < strlen(arr)/2 ; i++)
             ~~^~~~~~~~~~~~~~~
foo.cpp: In function 'int ADD(char*, int)':
foo.cpp:16:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i = 0;i < strlen(arr);i++)
            ~~^~~~~~~~~~~~~
foo.cpp:20:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while(i < strlen(arr))
        ~~^~~~~~~~~~~~~
foo.cpp:26:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while(i < strlen(arr1))
        ~~^~~~~~~~~~~~~~
foo.cpp: In function 'int main()':
foo.cpp:46:8: warning: unused variable 'i' [-Wunused-variable]
  int N,i=0,s=0;
        ^
# 状态 耗时 内存占用
#1 Accepted 0ms 1.094 MiB
#2 Accepted 0ms 1.082 MiB
#3 Wrong Answer 15ms 1.09 MiB
#4 Accepted 0ms 1.086 MiB

信息

递交者
类型
递交
题目
P1304 回文数
语言
C++
递交时间
2017-02-25 19:53:50
评测时间
2017-02-25 19:53:50
评测机
分数
75
总耗时
15ms
峰值内存
1.094 MiB