记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:17:12: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
     if (s1[strlen(s1) - 1] == '\n') {
            ^~~~~~
/in/foo.c:17:12: warning: incompatible implicit declaration of built-in function 'strlen'
/in/foo.c:17:12: note: include '<string.h>' or provide a declaration of 'strlen'
/in/foo.c:23:12: warning: incompatible implicit declaration of built-in function 'strlen'
     if (s2[strlen(s2) - 1] == '\n') {
            ^~~~~~
/in/foo.c:23:12: note: include '<string.h>' or provide a declaration of 'strlen'
# 状态 耗时 内存占用
#1 Accepted 0ms 332.0 KiB
#2 Accepted 0ms 248.0 KiB
#3 Accepted 0ms 328.0 KiB
#4 Accepted 0ms 208.0 KiB
#5 Accepted 0ms 328.0 KiB

信息

递交者
类型
递交
比赛
泰院2405作业赛第六场
语言
C
递交时间
2024-11-26 07:49:10
评测时间
2024-11-26 07:49:10
评测机
分数
100
总耗时
4ms
峰值内存
332.0 KiB