作业介绍
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.
题目
认领作业后才可以查看作业内容。
- 状态
- 正在进行…
- 题目
- 5
- 开始时间
- 2025-2-28 0:00
- 截止时间
- 2025-3-9 23:59
- 可延期
- 0 小时