Borderou de evaluare (job #1218282)

Utilizator popoiu.georgeGeorge Popoiu popoiu.george Data 10 august 2014 12:30:55
Problema Struti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int _solve(int, int, int&)’: user.cpp:93:97: warning: operation on ‘qb’ may be undefined [-Wsequence-point] while(!q.empty() && A[qMin[j].front()][j] <= A[qMin[(qb = q.back())].front()][qb]) ^ user.cpp:101:101: warning: operation on ‘qqb’ may be undefined [-Wsequence-point] while(!qq.empty() && A[qMax[j].front()][j] >= A[qMax[(qqb = qq.back())].front()][qqb]) ^ user.cpp:108:108: warning: operation on ‘qqf’ may be undefined [-Wsequence-point] diff = A[qMax[(qqf = qq.front())].front()][qqf] - A[qMin[(qf = q.front())].front()][qf]; ^ user.cpp:108:108: warning: operation on ‘qf’ may be undefined [-Wsequence-point] user.cpp: In function ‘void citeste(int&)’: user.cpp:41:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff,1,DIM,stdin),poz=0; ^ user.cpp:47:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff,1,DIM,stdin),poz=0; ^ user.cpp: In function ‘int main()’: user.cpp:163:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(INFL, "r", stdin); ^ user.cpp:164:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(OUTFL, "w", stdout); ^ user.cpp: In function ‘void solve()’: user.cpp:153:25: warning: ‘cnt’ may be used uninitialized in this function [-Wmaybe-uninitialized] cnt += c; ^ user.cpp:152:18: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized] else if(aux == ans) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1688kbOK10
224ms1976kbOK10
372ms2368kbOK10
4388ms3540kbOK10
5620ms4320kbOK10
6Depăşit5632kbTime limit exceeded.0
72440ms5632kbOK10
8868ms2828kbIncorect0
9748ms4344kbOK10
101456ms5536kbOK10
Punctaj total80

Ceva nu functioneaza?