Homework Introduction
CS100 Spring2025 Homework 1
Compilation Requirements
Your code will be compiled with the following GCC flags:
gcc -std=c17 -Wall -Wpedantic -Wextra -Werror -fdiagnostics-color=always -fsanitize=undefined -fsanitize=address -O3
Explanation of Flags:
-std=c17: Enforces the C17 language standard.-Wall -Wpedantic -Wextra: Enables strict warnings for potential code issues.-Werror: Treats all warnings as errors (code will not compile if warnings exist).-fdiagnostics-color=always: Displays error messages in color for clarity.-fsanitize=undefined -fsanitize=address: Detects undefined behavior and memory errors (e.g., buffer overflows).-O3: Enables aggressive code optimization.
Academic Integrity
Strictly Prohibited:
- Sharing, copying, or adapting code from peers, online sources, or AI-generated tools (e.g., GPT, deepseek, Claude).
- All submissions will undergo plagiarism checks. Violations will result in disciplinary action.
- Status
- Done
- Problem
- 5
- Open Since
- 2025-2-28 0:00
- Deadline
- 2025-3-9 23:59
- Extension
- 0 hour(s)