记录详情

Compile Error

/in/foo.cc:6:2: error: invalid preprocessing directive #defien
 #defien ll long long
  ^~~~~~
/in/foo.cc:9:7: error: 'll' does not name a type
 const ll mod = 1e9+7;
       ^~
/in/foo.cc: In function 'int work()':
/in/foo.cc:14:5: error: 'll' was not declared in this scope
     ll ans = 1;
     ^~
/in/foo.cc:20:18: error: 'ans' was not declared in this scope
         if(t==0) ans=ans*(a[i]+1)%mod;
                  ^~~
/in/foo.cc:20:35: error: 'mod' was not declared in this scope
         if(t==0) ans=ans*(a[i]+1)%mod;
                                   ^~~
/in/foo.cc:21:19: error: 'ans' was not declared in this scope
         if(t==-1) ans=ans*a[i-1]%mod;
                   ^~~
/in/foo.cc:21:34: error: 'mod' was not declared in this scope
         if(t==-1) ans=ans*a[i-1]%mod;
                                  ^~~
/in/foo.cc:23:12: error: 'ans' was not declared in this scope
     return ans;
            ^~~

信息

递交者
类型
递交
题目
浇花
语言
C++
递交时间
2017-08-19 16:20:17
评测时间
2017-08-19 16:20:17
评测机
分数
0
总耗时
240ms
峰值内存
34.359 MiB