/ 7FOJ /

记录详情

Accepted

/in/foo.cc: In function 'int ascii(char)':
/in/foo.cc:9:6: warning: unused variable 'gg2' [-Wunused-variable]
  int gg2=gg1;
      ^~~
/in/foo.cc: In function 'void in()':
/in/foo.cc:14:22: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[7]' [-Wformat=]
  scanf("%s\n%s",&a,&b);
                      ^
/in/foo.cc:14:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[7]' [-Wformat=]
/in/foo.cc: In function 'void count()':
/in/foo.cc:18:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<strlen(a);i++)
               ~^~~~~~~~~~
/in/foo.cc:20:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<strlen(b);i++)
               ~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 220.0 KiB
#2 Accepted 1ms 228.0 KiB
#3 Accepted 1ms 216.0 KiB
#4 Accepted 1ms 232.0 KiB
#5 Accepted 1ms 216.0 KiB
#6 Accepted 1ms 228.0 KiB
#7 Accepted 1ms 216.0 KiB
#8 Accepted 1ms 228.0 KiB
#9 Accepted 1ms 216.0 KiB
#10 Accepted 1ms 228.0 KiB

信息

递交者
类型
递交
题目
P1103 Your Ride Is Here 你的飞碟在这儿
语言
C++
递交时间
2020-08-04 09:07:02
评测时间
2020-08-04 09:07:02
评测机
分数
100
总耗时
16ms
峰值内存
232.0 KiB