Borderou de evaluare (job #2977386)

Utilizator bogdann31Nicolaev Bogdan bogdann31 Data 11 februarie 2023 14:51:46
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:6:40: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long 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("cmlsc.in"); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 15 | ofstream fout("cmlsc.out"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 | | 17 | | 18 | | 19 | void solve(){ | ~~~~~~~~~~~~~ 20 | ll n, m;cin>>n>>m; | ~~~~~~~~~~~~~~~~~~ 21 | ll v[n+1], v2[m+1]; | ~~~~~~~~~~~~~~~~~~~ 22 | for(ll i=1; i<=n; i++){ | ~~~~~~~~~~~~~~~~~~~~~~~ 23 | cin>>v[i]; | ~~~~~~~~~~ 24 | } | ~ 25 | for(ll i=1; i<=m; i++){ | ~~~~~~~~~~~~~~~~~~~~~~~ 26 | cin>>v2[i]; | ~~~~~~~~~~~ 27 | } | ~ 28 | ll dp[n+1][m+1]; | ~~~~~~~~~~~~~~~~ 29 | memset(dp, 0, sizeof(dp)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbRaspuns corect!10
20ms184kbRaspuns corect!10
30ms184kbRaspuns corect!10
40ms184kbRaspuns corect!10
50ms184kbRaspuns corect!10
60ms184kbRaspuns corect!10
72ms7393kbRaspuns corect!10
83ms7524kbRaspuns corect!10
93ms8048kbRaspuns corect!10
105ms6868kbRaspuns corect!10
Punctaj total100

Ceva nu functioneaza?