490 lines
20 KiB
HTML
490 lines
20 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Silvester Wichteln 2025 - Lösung #1</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
padding: 20px;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
}
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
background: white;
|
|
border-radius: 15px;
|
|
box-shadow: 0 10px 40px rgba(0,0,0,0.2);
|
|
overflow: hidden;
|
|
}
|
|
header {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
padding: 40px;
|
|
text-align: center;
|
|
}
|
|
h1 {
|
|
font-size: 2.5em;
|
|
margin-bottom: 10px;
|
|
}
|
|
.subtitle {
|
|
font-size: 1.2em;
|
|
opacity: 0.9;
|
|
}
|
|
.content {
|
|
padding: 40px;
|
|
}
|
|
section {
|
|
margin-bottom: 40px;
|
|
}
|
|
h2 {
|
|
color: #667eea;
|
|
border-bottom: 3px solid #667eea;
|
|
padding-bottom: 10px;
|
|
margin-bottom: 20px;
|
|
font-size: 1.8em;
|
|
}
|
|
.pairs-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 15px;
|
|
margin-top: 20px;
|
|
}
|
|
.pair-card {
|
|
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
transition: transform 0.3s;
|
|
}
|
|
.pair-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
|
}
|
|
.pair-arrow {
|
|
font-size: 1.5em;
|
|
color: #667eea;
|
|
margin: 5px 0;
|
|
}
|
|
.history-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 20px;
|
|
}
|
|
.history-table th, .history-table td {
|
|
padding: 12px;
|
|
text-align: left;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
.history-table th {
|
|
background: #667eea;
|
|
color: white;
|
|
font-weight: bold;
|
|
}
|
|
.history-table tr:hover {
|
|
background: #f5f7fa;
|
|
}
|
|
.violation-section {
|
|
background: #fff5f5;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
border-left: 5px solid #fc8181;
|
|
}
|
|
.violation-section.no-violations {
|
|
background: #f0fff4;
|
|
border-left-color: #68d391;
|
|
}
|
|
.violation-item {
|
|
margin: 10px 0;
|
|
padding: 10px;
|
|
background: white;
|
|
border-radius: 5px;
|
|
}
|
|
.violation-badge {
|
|
display: inline-block;
|
|
padding: 5px 10px;
|
|
border-radius: 20px;
|
|
font-size: 0.9em;
|
|
font-weight: bold;
|
|
margin-right: 10px;
|
|
}
|
|
.badge-error {
|
|
background: #fc8181;
|
|
color: white;
|
|
}
|
|
.badge-success {
|
|
background: #68d391;
|
|
color: white;
|
|
}
|
|
.objective-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 15px;
|
|
margin-top: 20px;
|
|
}
|
|
.objective-card {
|
|
background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
}
|
|
.objective-label {
|
|
font-weight: bold;
|
|
color: #666;
|
|
margin-bottom: 5px;
|
|
}
|
|
.objective-value {
|
|
font-size: 1.5em;
|
|
color: #333;
|
|
font-weight: bold;
|
|
}
|
|
.summary-box {
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
font-size: 1.3em;
|
|
font-weight: bold;
|
|
margin-top: 20px;
|
|
}
|
|
.summary-valid {
|
|
background: #68d391;
|
|
color: white;
|
|
}
|
|
.summary-invalid {
|
|
background: #fc8181;
|
|
color: white;
|
|
}
|
|
.year-badge {
|
|
display: inline-block;
|
|
padding: 3px 8px;
|
|
border-radius: 5px;
|
|
font-size: 0.8em;
|
|
margin-right: 5px;
|
|
background: #667eea;
|
|
color: white;
|
|
}
|
|
@media print {
|
|
body {
|
|
background: white;
|
|
}
|
|
.container {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<header>
|
|
<h1>🎁 Silvester Wichteln 2025</h1>
|
|
<div class="subtitle">Lösung #1 - Generiert am 31.10.2025 um 10:50:18</div>
|
|
</header>
|
|
|
|
<div class="content">
|
|
<section>
|
|
<h2>Geschenkpaare 2025</h2>
|
|
<div class="pairs-grid">
|
|
<div class="pair-card">
|
|
<div style="font-weight: bold; color: #667eea;">Herbert</div>
|
|
<div class="pair-arrow">↓</div>
|
|
<div style="font-weight: bold; color: #764ba2;">Christoph</div>
|
|
</div>
|
|
<div class="pair-card">
|
|
<div style="font-weight: bold; color: #667eea;">Christoph</div>
|
|
<div class="pair-arrow">↓</div>
|
|
<div style="font-weight: bold; color: #764ba2;">Iris</div>
|
|
</div>
|
|
<div class="pair-card">
|
|
<div style="font-weight: bold; color: #667eea;">Martin</div>
|
|
<div class="pair-arrow">↓</div>
|
|
<div style="font-weight: bold; color: #764ba2;">Gaby</div>
|
|
</div>
|
|
<div class="pair-card">
|
|
<div style="font-weight: bold; color: #667eea;">Christian</div>
|
|
<div class="pair-arrow">↓</div>
|
|
<div style="font-weight: bold; color: #764ba2;">Martin</div>
|
|
</div>
|
|
<div class="pair-card">
|
|
<div style="font-weight: bold; color: #667eea;">Marlon</div>
|
|
<div class="pair-arrow">↓</div>
|
|
<div style="font-weight: bold; color: #764ba2;">Christian</div>
|
|
</div>
|
|
<div class="pair-card">
|
|
<div style="font-weight: bold; color: #667eea;">Gaby</div>
|
|
<div class="pair-arrow">↓</div>
|
|
<div style="font-weight: bold; color: #764ba2;">Jenni</div>
|
|
</div>
|
|
<div class="pair-card">
|
|
<div style="font-weight: bold; color: #667eea;">Teresa</div>
|
|
<div class="pair-arrow">↓</div>
|
|
<div style="font-weight: bold; color: #764ba2;">Johanna</div>
|
|
</div>
|
|
<div class="pair-card">
|
|
<div style="font-weight: bold; color: #667eea;">Iris</div>
|
|
<div class="pair-arrow">↓</div>
|
|
<div style="font-weight: bold; color: #764ba2;">Marlon</div>
|
|
</div>
|
|
<div class="pair-card">
|
|
<div style="font-weight: bold; color: #667eea;">Anne-Christin</div>
|
|
<div class="pair-arrow">↓</div>
|
|
<div style="font-weight: bold; color: #764ba2;">Herbert</div>
|
|
</div>
|
|
<div class="pair-card">
|
|
<div style="font-weight: bold; color: #667eea;">Jenni</div>
|
|
<div class="pair-arrow">↓</div>
|
|
<div style="font-weight: bold; color: #764ba2;">Teresa</div>
|
|
</div>
|
|
<div class="pair-card">
|
|
<div style="font-weight: bold; color: #667eea;">Birgit</div>
|
|
<div class="pair-arrow">↓</div>
|
|
<div style="font-weight: bold; color: #764ba2;">Anne-Christin</div>
|
|
</div>
|
|
<div class="pair-card">
|
|
<div style="font-weight: bold; color: #667eea;">Johanna</div>
|
|
<div class="pair-arrow">↓</div>
|
|
<div style="font-weight: bold; color: #764ba2;">Birgit</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section>
|
|
<h2>Historie pro Person</h2>
|
|
<table class="history-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Person</th>
|
|
<th>2018</th>
|
|
<th>2019</th>
|
|
<th>2021</th>
|
|
<th>2022</th>
|
|
<th>2023</th>
|
|
<th>2024</th>
|
|
<th>2025</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><strong>Herbert</strong></td>
|
|
<td>Peter</td>
|
|
<td>Gaby</td>
|
|
<td>Martin</td>
|
|
<td>Anne-Christin</td>
|
|
<td>Jenni</td>
|
|
<td>Teresa</td>
|
|
<td><strong style="color: #667eea;">Christoph</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Christoph</strong></td>
|
|
<td>Martin</td>
|
|
<td>Birgit</td>
|
|
<td>Gaby</td>
|
|
<td>Teresa</td>
|
|
<td>Herbert</td>
|
|
<td>Birgit</td>
|
|
<td><strong style="color: #667eea;">Iris</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Martin</strong></td>
|
|
<td>Birgit</td>
|
|
<td>Iris</td>
|
|
<td>Christoph</td>
|
|
<td>Jenni</td>
|
|
<td>Johanna</td>
|
|
<td>Anne-Christin</td>
|
|
<td><strong style="color: #667eea;">Gaby</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Christian</strong></td>
|
|
<td>Anne-Christin</td>
|
|
<td>Renate</td>
|
|
<td>Birgit</td>
|
|
<td>Herbert</td>
|
|
<td>Christoph</td>
|
|
<td>Johanna</td>
|
|
<td><strong style="color: #667eea;">Martin</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Marlon</strong></td>
|
|
<td>-</td>
|
|
<td>-</td>
|
|
<td>-</td>
|
|
<td>-</td>
|
|
<td>-</td>
|
|
<td>Gaby</td>
|
|
<td><strong style="color: #667eea;">Christian</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Gaby</strong></td>
|
|
<td>Christoph</td>
|
|
<td>Christian</td>
|
|
<td>Anne-Christin</td>
|
|
<td>Martin</td>
|
|
<td>Birgit</td>
|
|
<td>Christian</td>
|
|
<td><strong style="color: #667eea;">Jenni</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Teresa</strong></td>
|
|
<td>Herbert</td>
|
|
<td>Jenni</td>
|
|
<td>Christian</td>
|
|
<td>Gaby</td>
|
|
<td>Anne-Christin</td>
|
|
<td>Iris</td>
|
|
<td><strong style="color: #667eea;">Johanna</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Iris</strong></td>
|
|
<td>Gaby</td>
|
|
<td>Teresa</td>
|
|
<td>Herbert</td>
|
|
<td>Christoph</td>
|
|
<td>Christian</td>
|
|
<td>Martin</td>
|
|
<td><strong style="color: #667eea;">Marlon</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Anne-Christin</strong></td>
|
|
<td>Jenni</td>
|
|
<td>Martin</td>
|
|
<td>Peter</td>
|
|
<td>Birgit</td>
|
|
<td>Iris</td>
|
|
<td>Jenni</td>
|
|
<td><strong style="color: #667eea;">Herbert</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Jenni</strong></td>
|
|
<td>-</td>
|
|
<td>Christoph</td>
|
|
<td>Iris</td>
|
|
<td>Peter</td>
|
|
<td>Gaby</td>
|
|
<td>Christoph</td>
|
|
<td><strong style="color: #667eea;">Teresa</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Birgit</strong></td>
|
|
<td>Teresa</td>
|
|
<td>Peter</td>
|
|
<td>Jenni</td>
|
|
<td>Iris</td>
|
|
<td>Martin</td>
|
|
<td>Marlon</td>
|
|
<td><strong style="color: #667eea;">Anne-Christin</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Johanna</strong></td>
|
|
<td>-</td>
|
|
<td>-</td>
|
|
<td>-</td>
|
|
<td>-</td>
|
|
<td>Teresa</td>
|
|
<td>Herbert</td>
|
|
<td><strong style="color: #667eea;">Birgit</strong></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
|
|
<section>
|
|
<h2>Verletzungsprüfung</h2>
|
|
<div class="violation-section ">
|
|
<div class="violation-item">
|
|
<span class="violation-badge badge-success">✓ OK</span>
|
|
<strong>Verbotene Paare:</strong> Keine Verletzungen
|
|
</div>
|
|
<div class="violation-item">
|
|
<span class="violation-badge badge-error">❌ VERLETZUNG</span>
|
|
<strong>Vorjahrespaare:</strong>
|
|
<ul style="margin-top: 10px; margin-left: 20px;">
|
|
<li><span class='year-badge'>2023</span> Herbert → Christoph (reverse)</li>
|
|
<li><span class='year-badge'>2022</span> Christoph → Iris (reverse)</li>
|
|
<li><span class='year-badge'>2022</span> Martin → Gaby (reverse)</li>
|
|
<li><span class='year-badge'>2023</span> Gaby → Jenni (reverse)</li>
|
|
<li><span class='year-badge'>2023</span> Teresa → Johanna (reverse)</li>
|
|
<li><span class='year-badge'>2022</span> Anne-Christin → Herbert (reverse)</li>
|
|
<li><span class='year-badge'>2019</span> Jenni → Teresa (reverse)</li>
|
|
<li><span class='year-badge'>2022</span> Birgit → Anne-Christin (reverse)</li>
|
|
</ul>
|
|
</div>
|
|
<div class="violation-item">
|
|
<span class="violation-badge badge-success">✓ OK</span>
|
|
<strong>Gegenseitiges Beschenken:</strong> Keine Verletzungen
|
|
</div>
|
|
<div class="violation-item">
|
|
<span class="violation-badge badge-success">✓ OK</span>
|
|
<strong>Zuordnungen:</strong> Alle Teilnehmer geben und erhalten genau einmal
|
|
</div>
|
|
</div>
|
|
|
|
<div class="summary-box summary-invalid">
|
|
⚠️ VERLETZUNGEN ERKANNT
|
|
</div>
|
|
</section>
|
|
|
|
<section>
|
|
<h2>Zielfunktionswerte</h2>
|
|
<div class="objective-grid">
|
|
<div class="objective-card">
|
|
<div class="objective-label">Gesamtwert</div>
|
|
<div class="objective-value">0.0383</div>
|
|
<div style="font-size: 0.9em; color: #666; margin-top: 5px;">→ 0.04</div>
|
|
</div>
|
|
<div class="objective-card">
|
|
<div class="objective-label">Pair Penalty</div>
|
|
<div class="objective-value">0.0000</div>
|
|
<div style="font-size: 0.9em; color: #666; margin-top: 5px;">→ 0.00</div>
|
|
</div>
|
|
<div class="objective-card">
|
|
<div class="objective-label">2024 Penalty</div>
|
|
<div class="objective-value">0.0000</div>
|
|
<div style="font-size: 0.9em; color: #666; margin-top: 5px;">→ 0.00</div>
|
|
</div>
|
|
<div class="objective-card">
|
|
<div class="objective-label">2024 Reverse</div>
|
|
<div class="objective-value">0.0000</div>
|
|
<div style="font-size: 0.9em; color: #666; margin-top: 5px;">→ 0.00</div>
|
|
</div>
|
|
<div class="objective-card">
|
|
<div class="objective-label">2023 Penalty</div>
|
|
<div class="objective-value">0.0000</div>
|
|
<div style="font-size: 0.9em; color: #666; margin-top: 5px;">→ 0.00</div>
|
|
</div>
|
|
<div class="objective-card">
|
|
<div class="objective-label">2022 Penalty</div>
|
|
<div class="objective-value">0.0000</div>
|
|
<div style="font-size: 0.9em; color: #666; margin-top: 5px;">→ 0.00</div>
|
|
</div>
|
|
<div class="objective-card">
|
|
<div class="objective-label">2021 Penalty</div>
|
|
<div class="objective-value">0.0000</div>
|
|
<div style="font-size: 0.9em; color: #666; margin-top: 5px;">→ 0.00</div>
|
|
</div>
|
|
<div class="objective-card">
|
|
<div class="objective-label">2019 Penalty</div>
|
|
<div class="objective-value">-0.0000</div>
|
|
<div style="font-size: 0.9em; color: #666; margin-top: 5px;">→ -0.00</div>
|
|
</div>
|
|
<div class="objective-card">
|
|
<div class="objective-label">2018 Penalty</div>
|
|
<div class="objective-value">-0.0000</div>
|
|
<div style="font-size: 0.9em; color: #666; margin-top: 5px;">→ -0.00</div>
|
|
</div>
|
|
</div>
|
|
<div style="text-align: center; margin-top: 20px; padding: 20px; background: #f5f7fa; border-radius: 10px;">
|
|
<strong style="font-size: 1.3em;">Gesamter Zielfunktionswert: 0.0383</strong>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |