记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:12:15: error: called object 'passwd' is not a function or function pointer
    scanf("%s",passwd(i));
               ^~~~~~
/in/foo.c:6:10: note: declared here
     char passwd[100000],encrypted[100000];
          ^~~~~~
/in/foo.c:7:17: warning: unused variable 'move' [-Wunused-variable]
     int i,j,k,t,move;
                 ^~~~
/in/foo.c:7:15: warning: unused variable 't' [-Wunused-variable]
     int i,j,k,t,move;
               ^
/in/foo.c:7:11: warning: unused variable 'j' [-Wunused-variable]
     int i,j,k,t,move;
           ^
/in/foo.c:6:25: warning: unused variable 'encrypted' [-Wunused-variable]
     char passwd[100000],encrypted[100000];
                         ^~~~~~~~~

信息

递交者
类型
自测
题目
4-6 一个密钥的凯撒密码
语言
C
递交时间
2020-12-15 15:15:58
评测时间
2020-12-15 15:15:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes