Pagini recente » Borderou de evaluare (job #2866837) | Borderou de evaluare (job #3175037) | Borderou de evaluare (job #1074141) | Borderou de evaluare (job #1151928) | Borderou de evaluare (job #1218282)
Borderou de evaluare (job #1218282)
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 |
1 | 4ms | 1688kb | OK | 10 |
2 | 24ms | 1976kb | OK | 10 |
3 | 72ms | 2368kb | OK | 10 |
4 | 388ms | 3540kb | OK | 10 |
5 | 620ms | 4320kb | OK | 10 |
6 | Depăşit | 5632kb | Time limit exceeded. | 0 |
7 | 2440ms | 5632kb | OK | 10 |
8 | 868ms | 2828kb | Incorect | 0 |
9 | 748ms | 4344kb | OK | 10 |
10 | 1456ms | 5536kb | OK | 10 |
Punctaj total | 80 |