Accepted

foo.cc: In function 'int main()':
foo.cc:12:6: warning: statement has no effect [-Wunused-value]
 for(m; s1[m]!=0; m++) ;
      ^
foo.cc:13:6: warning: statement has no effect [-Wunused-value]
 for(k; s2[k]!=0; k++) ;
      ^
foo.cc:9:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%s",s1);
 ~~~~~^~~~~~~~~
foo.cc:10:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%s",s2);
 ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 412.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 3ms 508.0 KiB
#4 Accepted 3ms 556.0 KiB
#5 Accepted 2ms 416.0 KiB

信息

递交者
类型
递交
题目
P1083 2-2 语言的起点
语言
C++
递交时间
2021-11-16 21:30:10
评测时间
2021-11-16 21:30:10
评测机
分数
100
总耗时
12ms
峰值内存
556.0 KiB