Pagini recente » Cod sursa (job #645194) | Cod sursa (job #2814222) | Cod sursa (job #1406173) | Borderou de evaluare (job #158001) | Borderou de evaluare (job #2379427)
Borderou de evaluare (job #2379427)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (j=1;j<=m;++j)
^~~
main.cpp:51:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
area1=area2=area3=n*m+1;
^~~~~
main.cpp: In function 'void solve(int)':
main.cpp:26:39: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (sum>smax || (sum==smax && (j-i+1)*(k-p+1)<val)) x1=i,x2=j,y1=p,y2=k,smax=sum,val=(j-i+1)*(k-p+1);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Incorect | 0 |
2 | 3ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 4ms | 262kb | Incorect | 0 |
6 | 4ms | 262kb | Incorect | 0 |
7 | 23ms | 393kb | Incorect | 0 |
8 | 27ms | 393kb | Incorect | 0 |
9 | 31ms | 393kb | Incorect | 0 |
10 | 30ms | 393kb | Incorect | 0 |
11 | 48ms | 393kb | Incorect | 0 |
12 | 3ms | 131kb | Incorect | 0 |
13 | 18ms | 262kb | Incorect | 0 |
14 | 80ms | 393kb | Incorect | 0 |
15 | 100ms | 524kb | Incorect | 0 |
16 | 97ms | 524kb | Incorect | 0 |
17 | 97ms | 524kb | Incorect | 0 |
18 | 98ms | 524kb | Incorect | 0 |
19 | 93ms | 524kb | Incorect | 0 |
20 | 98ms | 524kb | Incorect | 0 |
Punctaj total | 0 |