Pagini recente » Borderou de evaluare (job #2856897) | Borderou de evaluare (job #3247993) | Borderou de evaluare (job #1835026) | Borderou de evaluare (job #3147129) | Borderou de evaluare (job #1218281)
Borderou de evaluare (job #1218281)
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 | 1700kb | OK | 10 |
2 | 24ms | 1980kb | OK | 10 |
3 | 72ms | 2368kb | OK | 10 |
4 | 388ms | 3536kb | OK | 10 |
5 | 620ms | 4328kb | OK | 10 |
6 | Depăşit | 5676kb | Time limit exceeded. | 0 |
7 | 2420ms | 5636kb | OK | 10 |
8 | 872ms | 2844kb | Incorect | 0 |
9 | 752ms | 4344kb | OK | 10 |
10 | 1456ms | 5540kb | OK | 10 |
Punctaj total | 80 |