Aufgabenbesprechung Programming Contest. Order 7 Bo Pat Jean Kevin Claude William Marybeth 6 Jim Ben Zoe Joey Frederick Annabelle 0 SET 1 Bo Jean Claude.

Slides:



Advertisements
Ähnliche Präsentationen
Word Order in German Subordiante Clauses
Advertisements

Role Play Cards Edexcel B
Mean and variance.
P. Marwedel Informatik 12, U. Dortmund
PPTmaster_BRC_ pot Rexroth Inline compact I/O technology in your control cabinet SERCOS III Components Abteilung; Vor- und Nachname.
R. Zankl – Ch. Oelschlegel – M. Schüler – M. Karg – H. Obermayer R. Gottanka – F. Rösch – P. Keidler – A. Spangler th Expert Meeting Business.
Todays Lesson Objective: To apply weather phrases to hobby phrases Todays Language Focus: Which word is the verb?
Todays Lesson Objective: To apply weather phrases to hobby phrases Todays Language Focus: Which word is the verb?
Multi electron atoms Atoms with Z>1 contain >1 electron. This changes the atomic structure considerably because in addition to the electron-nucleus interaction,
Formation of Questions in German
Telling Time in German Deutsch 1 Part 1 Time in German There are two ways to tell time in German. There are two ways to tell time in German. Standard.
Wenn…… the conditional. Using the conditional tense The conditional tense is used to talk about something that happens only after something else happened.
Lehrstuhl Informatik III: Datenbanksysteme Andreas Scholz 1 Programming Database Web Applications Web Service Technologies Andreas Scholz.
NUMEX – Numerical experiments for the GME Fachhochschule Bonn-Rhein-Sieg Wolfgang Joppich PFTOOL - Precipitation forecast toolbox Semi-Lagrangian Mass-Integrating.
Wozu die Autokorrelationsfunktion?
Institut für Verkehrsführung und Fahrzeugsteuerung > Technologien aus Luft- und Raumfahrt für Straße und Schiene Automatic Maneuver Recognition in the.
Lancing: What is the future? Lutz Heinemann Profil Institute for Clinical Research, San Diego, US Profil Institut für Stoffwechselforschung, Neuss Science.
Three minutes presentation I ArbeitsschritteW Seminar I-Prax: Inhaltserschließung visueller Medien, Spree WS 2010/2011 Giving directions.
Modulare Programmierung
Seminar Telematiksysteme für Fernwartung und Ferndiagnose Basic Concepts in Control Theory MSc. Lei Ma 22 April, 2004.
Methods Fuzzy- Logic enables the modeling of rule based knowledge by the use of fuzzy criteria instead of exact measurement values or threshold values.
Die Hausaufgaben: Machen Sie Ü. 7 auf S. 29
Regular Verbs and “Sein”
Adjektive Endungen von Frau Templeton.
Kapitel 4: Die Schule Deutsch 1
Introduction to Articles
Institut AIFB, Universität Karlsruhe (TH) Forschungsuniversität gegründet 1825 Towards Automatic Composition of Processes based on Semantic.
Das Perfekt (Present Perfect Tense). Think of 5 things you did in your holidays but think of sentences in the PRESENT TENSE. 1.Am Montag schlafe ich viel.
Plural Forms of Nouns & Wie viel? or Wie viele?
Morphology and Syntax More on sentence structure.
Reflexive Verbs.
Ich gehe in den Supermarkt Ich bin in dem Supermarkt
Group Talk Developing spontaneous target language interaction.
WORD ORDER I go home I am going home I do go home Ich gehe nach Hause. German has only one way to express the present tense.
DER FRÜHLING Der Frühling beginnt am 21. März, aber in Nova Scotia ist es im März oft noch kalt, und das Wetter ist meist nicht schön. Erst im Mai wird.
Reflexive Verben
Felder (Arrays) und Zeiger (Pointers) - Teil II Zeichen, Texte, String Matching; Mehrdimensionale Felder; kürzeste Wege.
Mein Stammbaum.
The Genitive Case This case has three uses: USE #1: To show possession or that something is an integral part of something else. z.B. The mans dog has just.
Wirtschaftsingenieurwesen Maschinenbau und Logistik Betriebsinformatik und Programmieren (BIPR) Ceylan Isik Quelle: Google.
Tage der Woche German Early Level Montag Dienstag Mittwoch Donnerstag
The word,,aber in German is most often used as a coordinating conjunction. Ich wollte nach Bremen fahren aber Mein Auto ist kaputt. Ich mag English aber.
Ein Projekt des Technischen Jugendfreizeit- und Bildungsvereins (tjfbv) e.V. kommunizieren.de Blended Learning for people with disabilities.
Ein Herz besteht aus vielen Räumen, A heart consist of many rooms, Manche groß, Andere klein, Many big, others small, aber das soll nicht heißen, dass.
Talking about yourself
Cross-Polarization Modulation in DWDM Systems
External Labels – The rules For all external labels the following rules apply (external labels are all labels which are not inside of a shape) - all labels.
© Boardworks Ltd of 8 Time Manner Place © Boardworks Ltd of 8 This icon indicates that the slide contains activities created in Flash. These.
Alltagsleben Treffpunkt Deutsch Sixth Edition
Negation is when you dont have or dont do something.
Adjectiv Endungen Lite: Adjective following articles and pre-ceeding nouns. Colors and Clothes.
Dative Prepositions. The dative case always follows these prepositions: – aus – out of, from, (from – place of origin) – außer – besides, except – bei.
1 Chapter 7: Selected Algorithms 7.1 External Search 7.2 External Sorting 7.3 Text searching.
AVL-Trees (according to Adelson-Velskii & Landis, 1962) In normal search trees, the complexity of find, insert and delete operations in search.
Greetings and goodbyes Deutschland v. USA
Sentence Structure Subject and verb are always together. Subject and verb are always together. Subject and verb must agree Subject and verb must agree.
To school => zu der Schule With friends => mit den Freunden On top of the desk => auf dem Schreibtisch Through the wall => durch die Wand.
Plusquamperfekt The past of the past.
You need to use your mouse to see this presentation © Heidi Behrens.
Dyabola Archäologische Bibliographie Römisch-Germanischen Kommission (RGK) Author searches – compound names Bibliotheken Click = next Libraries.
1 Stevens Direct Scaling Methods and the Uniqueness Problem: Empirical Evaluation of an Axiom fundamental to Interval Scale Level.
Adjective Endings Nominative & Accusative Cases describing auf deutsch The information contained in this document may not be duplicated or distributed.
Selectivity in the German Mobility Panel Tobias Kuhnimhof Institute for Transport Studies, University of Karlsruhe Paris, May 20th, 2005.
Instrumente und Unterhaltung End of Unit Assessment.
Adjective Declension in German
Trouble with Time Travel Probleme mit Zeitreisen.
Nord-Süd Ressourcenflüsse: Entwicklungshilfe, Handel,
Frau McKeag. Märchen fangen fast immer an mit "Once upon a time," oder "Es war einmal…”
Solving Inequalities by Addition and Subtraction
Sleep deprivation by caffeine and mechanical disturbance of outbred CCM flies results in egg output reduction. Sleep deprivation by caffeine and mechanical.
 Präsentation transkript:

Aufgabenbesprechung Programming Contest

Order 7 Bo Pat Jean Kevin Claude William Marybeth 6 Jim Ben Zoe Joey Frederick Annabelle 0 SET 1 Bo Jean Claude Marybeth William Kevin Pat SET 2 Jim Zoe Frederick Annabelle Joey Ben

Order Input: The input consists of one or more sets of strings, followed by a final line containing only the value 0. Each set starts with a line containing an integer, n, which is the number of strings in the set, followed by n strings, one per line, sorted in nondescending order by length. None of the strings contain spaces. There is at least one and no more than 15 strings per set. Each string is at most 25 characters long. Output: For each input set print "SET n" on a line, where n starts at 1, followed by the output set as shown in the sample output.

Speed 2 * 20 + (6-2) * 30 + (7-6) * 10 = * 60 + (5-1) * 30 = * 15 + (2-1) * 25 + (3-2) * 30 + (5-3) * 10 = 90

Speed Input: The input consists of one or more data sets. Each set starts with a line containing an integer n, 1 n 10, followed by n pairs of values, one pair per line. The first value in a pair, s, is the speed in miles per hour and the second value, t, is the total elapsed time. Both s and t are integers, 1 s 90 and 1 t 12. The values for t are always in strictly increasing order. A value of -1 for n signals the end of the input. Output: For each input set, print the distance driven, followed by a space, followed by the word "miles".

Longnight The input contains several test cases. The first line of a test case contains one integer N, which indicates the number of museums participating in the event (1 <= N <= 20). The second line of a test case contains N integers indicating the time, in minutes, needed to visit each museum. Then there are N lines describing the times to go from one museum to every other. You may assume that the i-th integer in the i-th line is equal to zero. The end of input is indicated by N = 0 For each test case in the input, your program must produce one line containing the maximum number of museums that can be visited during the Long Night of Museums.

Longnight

Einlesen:

Version 1 - Klassische Tiefensuche

Problem zu langsam! Wie langsam? => Summe(i=1..20, i!) Mögliche Kombinationen Was tun? Bereits besuchte Kombinationen nicht nochmal machen! Summe(i=1..20, 20 über i) = (SIC!)

Wie verwalten? int als Bitvector nutzen: 5 Museen 5bits benötigt War in 0, 2 und 3: (von rechts nach links lesen). Bits gezielt anschalten: | = | = Wie bekommt man => 1 << 3

kombination[i][j] == war ich schon mal in Museum i und habe die Kombination j bereits besucht gehabt

Stimmt das? Mh... Ich bin nicht so sicher...

Tax ICPC needs to divide it into lots. 1.land can only be divided using a sequence of land divisions; 2.a land division is an operation that divides one piece of land into two pieces of land; and 3.for each land division, a land division tax must be paid. Denoting by A the area of the largest resulting part of the division, the value of the land division tax is A×F, where F is the division tax factor.

Beispiel

Ansatz Man muss alles durchprobieren. Aber wieder schlau! => Dynamisches Programmieren: Lege Datenstruktur an, die enthält wie man eine Teilfläche am billigsten in die gewünschten Teile zerlegen kann. int[][] cost cost[a][b] == Kosten zum Zerteilen von A bis B

Grandpa

Magic

Tipps für Magic Riesige Fallunterscheidung! Einfacher mit indexOf

Tipps für Magic Umgekehrt ist dann auch einfacher. CharAt verwenden "ABCDEF".charAt(3) == ? "ABCDEF".indexOf('E') == ?