Pagini recente » Borderou de evaluare (job #1218272) | Borderou de evaluare (job #507656) | Borderou de evaluare (job #788021) | Borderou de evaluare (job #262523) | Borderou de evaluare (job #1218369)
Borderou de evaluare (job #1218369)
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 | 2860kb | OK | 10 |
| 2 | 24ms | 3196kb | OK | 10 |
| 3 | 76ms | 3692kb | OK | 10 |
| 4 | 392ms | 5724kb | OK | 10 |
| 5 | 632ms | 7152kb | OK | 10 |
| 6 | Depăşit | 10740kb | Time limit exceeded. | 0 |
| 7 | 2484ms | 10600kb | OK | 10 |
| 8 | 888ms | 5120kb | Incorect | 0 |
| 9 | 752ms | 6952kb | OK | 10 |
| 10 | 1480ms | 8736kb | OK | 10 |
| Punctaj total | 80 |