Borderou de evaluare (job #2977411)

Utilizator bogdann31Nicolaev Bogdan bogdann31 Data 11 februarie 2023 15:41:29
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:6:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 6 | #define fr(n) for(ll i=0;i<n;++i) | ~^~~~~~~ 7 | #define ctz(x) __builtin_ctzll(x) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 | #define clz(x) __builtin_clzll(x) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 | #define pcount(x) __builtin_popcountll(x) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 | const int dx[] = {-1, 0, 1, 0}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 | const int dy[] = {0, 1, 0, -1}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 | #define cin fin | ~~~~~~~~~~~~~~~ 13 | #define cout fout | ~~~~~~~~~~~~~~~~~ 14 | ifstream fin("scmax.in"); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 15 | ofstream fout("scmax.out"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 | | 17 | | 18 | | 19 | void solve(){ | ~~~~~~~~~~~~~ 20 | ll n;cin>>n; | ~~~~~~~~~~~~ 21 | ll a[n+1]; | ~~~~~~~~~~ 22 | a[0]=0; | ~~~~~~~ 23 | for(ll i=1; i<=n; i++){ | ~~~~~~~~~~~~~~~~~~~~~~~ 24 | cin>>a[i]; | ~~~~~~~~~~ 25 | } | ~ 26 | vector<ll> dp(n+1, 0); | ~~~~~~~~~~~~~~~~~~~~~~ 27 | ll temp=0; | ~~~~~~~~~~ 28 | vector<ll> p(n+1, 0); | ~~~~~~~~~~~~~~~~~~~~~ 29 | ll tempp; | ~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbCorect!1010
20ms184kbCorect!1010
30ms184kbCorect!1010
40ms184kbCorect!1010
50ms184kbCorect!1010
60ms184kbCorect!1010
72ms184kbCorect!1010
8302ms1445kbTime limit exceeded00
9302ms1363kbTime limit exceeded0
10302ms1363kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?