Skip to content

Tag Archive

Uva

Entries connected to "Uva", gathered in one place for quick browsing.

Entries 9
Categories 25
Tags 203

Collection filter

Refine this page

Narrow the entries already loaded here by title, summary, category, or tag.

9 entries shown

UVa Online Judge Challenge "1112"

This problem involves a relatively small graph, so I opted to implement the Floyd-Warshall Algorithm instead of Dijkstra’s Algorithm for the sake of simplicity. This algorithm finds the shortest path between every pair of vertices in a graph, running in O(n^3) time. Although this might sound inefficient, the UVA judge accepted this program with a runtime of 0.12 seconds, which is well within the 3-second threshold. I designed this algorithm using an object-oriented approach and avoided arrays, so that if I ever have enough free time, I can easily integrate it into Processing and visualize it in 3D.

UVa Online Judge Challenge "1112"

UVa Online Judge Challenge "10110"

“There is man named ”mabu” for switching on-off light in our University. He switches on-off the lights in a corridor. Every bulb has its own toggle switch. That is, if it is pressed then the bulb turns on. Another press will turn it off. To save power consumption (or may be he is mad or something else) he does a peculiar thing. If in a corridor there is n bulbs, he walks along the corridor back and forth n times and in i-th walk he toggles only the switches whose serial is divisable by i. He does not press any switch when coming back to his initial position. A i-th walk is defined as going down the corridor (while doing the peculiar thing) and coming back again. Now you have to determine what is the final condition of the last bulb. Is it on or off?”

UVa Online Judge Challenge "10110"

Recently Created

Latest entries created

The 10 most recently created entries, sorted by each entry's publish date.

  1. UVa Online Judge Challenge "11045" May 1, 2018
  2. UVa Online Judge Challenge "10305" Apr 26, 2018
  3. UVa Online Judge Challenge "572" Apr 23, 2018
  4. UVa Online Judge Challenge "1112" Apr 9, 2018
  5. UVa Online Judge Challenge "10550" Nov 9, 2017
  6. UVa Online Judge Challenge "272" Oct 17, 2017
  7. UVa Online Judge Challenge "10110" Oct 5, 2017
  8. UVa Online Judge Challenge "100" Oct 5, 2017
  9. UVa Online Judge Challenge "11172" Aug 24, 2017

Recently Updated

Latest revisions across entries

The 10 most recently updated entries, sorted by each entry's last modification date.

  1. UVa Online Judge Challenge "11045" May 2, 2025
  2. UVa Online Judge Challenge "10305" May 2, 2025
  3. UVa Online Judge Challenge "572" May 2, 2025
  4. UVa Online Judge Challenge "1112" May 2, 2025
  5. UVa Online Judge Challenge "10550" May 2, 2025
  6. UVa Online Judge Challenge "272" May 2, 2025
  7. UVa Online Judge Challenge "10110" May 2, 2025
  8. UVa Online Judge Challenge "100" May 2, 2025
  9. UVa Online Judge Challenge "11172" May 2, 2025

Relationship Map

Memory Field

Use the relationship map to follow related categories, tags, and entries beyond the current list.

Categories 0
Tags 0
Entries 0