记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:23: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'long long int*' [-Wformat=]
  scanf("%d%I64u",&n,&m);
                     ~~^
/in/foo.cc:35:22: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    ans+=(1<<row[i][j]-1);
             ~~~~~~~~~^~
/in/foo.cc:37:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d ",ans);
                   ^
/in/foo.cc:5:8: warning: unused variable 't' [-Wunused-variable]
  int n,t,i,j,row[3][66];
        ^
# 状态 耗时 内存占用
#1 Accepted 1ms 192.0 KiB
#2 Accepted 1ms 192.0 KiB
#3 Accepted 1ms 200.0 KiB
#4 Accepted 1ms 192.0 KiB
#5 Accepted 1ms 192.0 KiB

信息

递交者
类型
递交
题目
2-3 Hanoi游戏的状态
语言
C++
递交时间
2018-12-13 09:09:55
评测时间
2018-12-13 09:09:55
评测机
分数
100
总耗时
6ms
峰值内存
200.0 KiB