Borderou de evaluare (job #1872285)
Utilizator | Data | 8 februarie 2017 02:23:35 | |
---|---|---|---|
Problema | Spargere2 | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:23:1: error: ‘__int64’ does not name a type
__int64 dp[100004], mex = -(1LL<<33LL), dpme[100004];
^
user.cpp: In function ‘int main()’:
user.cpp:31:9: error: ‘dpme’ was not declared in this scope
dpme[i] = max(dpme[i - 1], (__int64)a);
^
user.cpp:31:37: error: ‘__int64’ was not declared in this scope
dpme[i] = max(dpme[i - 1], (__int64)a);
^
user.cpp:32:9: error: ‘mex’ was not declared in this scope
mex = max(mex, (__int64)a);
^
user.cpp:32:33: error: expected ‘)’ before ‘a’
mex = max(mex, (__int64)a);
^
user.cpp:34:13: error: ‘dp’ was not declared in this scope
dp[i] = a;
^
user.cpp:36:13: error: ‘dp’ was not declared in this scope
dp[i] = max(dp[i], dpme[i - k] + a);
^
user.cpp:41:13: error: ‘mex’ was not declared in this scope
cout << mex;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !