Getting Started
Logging In
- Navigate to your Wecode installation URL
- Enter your username and password
- Click “Login”
If you don’t have an account, ask your instructor to create one or check if registration is enabled.
First Time Login
After your first login:- Update your display name
- Set your email address
- Change your password (optional but recommended)
- Click your username in the top navigation
- Click “Edit Profile”
- Update your information
- Click “Save”
Enrolling in Classes
Classes (called “Lops” in Wecode) give you access to assignments.Viewing Available Classes
Enrolling in a Class
For Open classes:For closed classes, your instructor must add you manually.
Leaving a Class
- Navigate to the class page
- Click “Leave” or “Unenroll”
- Confirm - you’ll lose access to class assignments
Viewing Assignments
Assignments List
Click “Assignments” to see all available assignments: Assignment information shown:- Assignment name
- Number of problems
- Start and finish times
- Current coefficient (late penalty multiplier)
- Status (not started, active, or finished)
- Your progress
- 🟢 Green: You can submit now
- 🟡 Yellow: Assignment hasn’t started yet
- 🔴 Red: Assignment finished or closed
Opening an Assignment
Click on an assignment name to:- Read problem descriptions
- Submit solutions
- View your submissions
- See the scoreboard (if enabled)
Understanding Problem Descriptions
Problem View
When you open a problem, you’ll see: Problem Statement- Description of what the program should do
- Input format specification
- Output format specification
- Sample inputs and outputs
- Constraints (time limit, memory limit)
- Points available
- Allowed languages
- Time and memory limits
- Your previous submissions
Sample Input/Output
Use sample test cases to:- Understand the problem format
- Test your solution locally
- Debug before submitting
PDF Descriptions
If a problem has a PDF:- Click “View PDF” button
- Download or view the full problem statement
- Return to the problem page to submit
Downloading Test Cases
Some problems allow downloading test cases:- Look for “Download Input” and “Download Output” buttons
- Click to download ZIP files
- Extract and use for local testing
Not all problems allow test case downloads. This is configured by your instructor.
Submitting Your Solution
Submission Methods
Wecode supports two ways to submit: Upload File- Write code in your IDE
- Save to a file
- Upload through the interface
- Write or paste code directly in the browser
- Use the built-in code editor
- Submit without saving a file
Step-by-Step Submission
Choose Language
Select your programming language from the dropdown:
- C++
- C
- Python 2/3
- Java
- Others as allowed by your instructor
Enter Your Code
Option A: Upload File
- Click “Choose File” or “Browse”
- Select your source code file
- File extension should match the language (e.g.,
.cpp,.py,.java)
- Click the code editor tab
- Paste or type your code
- Code is automatically saved
Submission Requirements
File size limits- Maximum size varies by installation (typically 64KB)
- Excessively large files will be rejected
- Must match assignment requirements
- Use correct file extension
- Code must compile without errors
- Read from standard input (stdin)
- Write to standard output (stdout)
- Match exact format in problem description
- No extra output (debugging statements)
Common Submission Mistakes
❌ Wrong output format- Extra spaces, wrong number of decimal places
- Missing newlines
- Debugging print statements
- Not reading all input
- Wrong order of inputs
- Assuming specific input size
- Empty input
- Maximum values
- Minimum values
- Special cases mentioned in problem
- Inefficient algorithm
- Infinite loops
- Not optimized for large inputs
Viewing Submission Results
Submissions List
View your submissions:- Click “Submissions” in the navigation
- Or click “My Submissions” on the problem page
- Submission ID and time
- Problem name
- Language used
- Status/Verdict
- Score
- Time and memory used
Understanding Verdicts
✅ ACCEPTED (AC)- Your solution is correct!
- Passed all test cases
- Score: 100%
- This is what you want to see
- Output doesn’t match expected output
- Check:
- Output format (spaces, newlines)
- Edge cases
- Logic errors
- Score: Partial credit based on passed test cases
- Your program took too long
- Fix:
- Use more efficient algorithm
- Optimize your code
- Remove unnecessary operations
- Check for infinite loops
- Your program used too much memory
- Fix:
- Use less memory in data structures
- Don’t allocate huge arrays
- Free unused memory
- Your program crashed during execution
- Common causes:
- Array index out of bounds
- Division by zero
- Null pointer
- Stack overflow (deep recursion)
- Segmentation fault
- Your code didn’t compile
- Check:
- Syntax errors
- Missing includes/imports
- Correct language selected
- File extension matches language
- Submission is queued for judging
- Usually processes in seconds
- If stuck for minutes, contact instructor
Viewing Detailed Results
Click on a submission to see: Code Tab- Your submitted source code
- Syntax highlighted
- Exactly what was judged
- Verdict for each test case
- Time and memory per test case
- Which cases passed/failed
- Percentage score
- Compilation output
- Runtime errors
- Debugging information
Test case details (input/output) may be hidden depending on problem configuration.
Selecting Your Final Submission
What is a Final Submission?
For grading purposes, only ONE submission per problem counts toward your score - your “final submission.”Automatic Selection
By default, Wecode automatically selects your:- Best score (highest points)
- Earliest ACCEPTED (if multiple 100% solutions)
Manual Selection
You can choose which submission to count:Changing your final submission updates your score on the scoreboard immediately.
Why Manual Selection?
You might manually select if:- You prefer an earlier submission with the same score
- A partial solution is acceptable for your strategy
- You want to demonstrate a specific approach
Late Penalty Application
Your final submission’s score is calculated as:- Problem Score: Points assigned by instructor
- Pre-Score: Percentage of test cases passed
- Coefficient: Late penalty multiplier (100 = no penalty)
- Problem worth 100 points
- You passed 90% of test cases (pre-score = 9000/10000)
- Submitted 2 hours late, penalty is 10% (coefficient = 90)
- Final score = 100 × 0.90 × 0.90 = 81 points
Practicing Problems
Practice mode lets you solve problems outside of assignments.Accessing Practice
Browse Problems
See all problems available for practice:
- Sorted by newest first
- Shows difficulty level
- Shows acceptance rate
- Shows total submissions
Practice vs Assignment
Practice Mode:- No deadlines
- No late penalties
- Doesn’t count toward class grades
- Great for:
- Learning new algorithms
- Preparing for assignments
- Reviewing after assignments close
- Has deadlines
- Counts toward grades
- May have late penalties
- Limited time window
Many problems become available for practice after assignment deadlines, allowing you to review and improve.
Understanding the Scoreboard
If your instructor enables the scoreboard, you can see rankings.Accessing Scoreboard
- Navigate to an assignment
- Click “Scoreboard” tab or link
- View rankings and scores
Scoreboard Information
Your row shows:- Your rank
- Your username
- Total score
- Score per problem
- Number of submissions per problem
- 🟢 Green: Accepted (100%)
- 🔴 Red: Attempted but not accepted
- ⚪ Gray: Not attempted
- Score: Points earned
- Attempts: Number of submissions
- Time: When first accepted
Scoreboard Strategy
Some instructors disable scoreboards. In this case, you can only see your own scores.
Tips for Success
Before Coding
Read Carefully
- Understand the problem completely
- Note input/output formats
- Identify constraints
- Check sample test cases
Plan Your Approach
- Think about the algorithm
- Consider edge cases
- Estimate time complexity
- Choose appropriate data structures
While Coding
- ✅ Use clear variable names for readability
- ✅ Comment complex logic for your future reference
- ✅ Handle edge cases (empty input, maximum values, etc.)
- ✅ Avoid hardcoding specific values
- ✅ Test incrementally as you code
Before Submitting
- ✅ Remove debug output (print statements showing variables)
- ✅ Check input reading (read all input, correct order)
- ✅ Verify output format (exact spacing, newlines)
- ✅ Test with sample cases one more time
- ✅ Check language selection matches your code
After Submitting
- ✅ Wait for result before resubmitting
- ✅ Read error messages carefully if failed
- ✅ Fix specific issues don’t rewrite everything
- ✅ Test changes locally before resubmitting
Common Problems and Solutions
”I can’t submit”
Check:- Assignment is open (not closed)
- Assignment has started
- You’re enrolled in a class assigned to this assignment
- You haven’t exceeded the deadline + extra time
- No other submission from you is pending for this problem
”My submission is stuck in PENDING”
Wait: Usually processes in under a minute If stuck for 5+ minutes:- Contact your instructor
- There may be a queue issue
- System administrator may need to intervene
”I got WRONG ANSWER but it works on my computer”
Common causes:-
Output format differences
- Extra spaces or newlines
- Missing newlines at end
- Wrong number of decimal places
-
Hidden test cases
- Sample cases don’t cover all scenarios
- Edge cases you didn’t consider
-
Uninitialized variables
- May have different values on different systems
-
Input reading issues
- Not reading all input
- Wrong parsing logic
- Review problem output format
- Create more test cases
- Test edge cases (empty, maximum, minimum)
“I got TIME LIMIT EXCEEDED”
Your algorithm is too slow Solutions:- Use more efficient algorithm
- Optimize loops
- Use better data structures
- Remove unnecessary calculations
- Read about time complexity
- Bubble sort: O(n²) - slow for large n
- Quick sort: O(n log n) - much faster
”I got RUNTIME ERROR”
Common causes:- Array bounds: Accessing arr[i] where i >= array size
- Division by zero: Check denominators
- Null pointers: Initialize before use
- Stack overflow: Too much recursion or large local arrays
- Invalid input: Assuming input format
- Add boundary checks
- Validate input
- Limit recursion depth
- Use smaller data structures
”I got COMPILATION ERROR”
Check:- Syntax errors: Missing semicolons, brackets
- Includes/imports: Add required libraries
- Language mismatch: Selected C++ but wrote Python?
- Compiler version: Some features may not be available
Academic Integrity
Allowed
- ✅ Discussing approaches with classmates
- ✅ Using online resources to learn algorithms
- ✅ Asking for clarification on problem statements
- ✅ Debugging with help from instructors/TAs
- ✅ Referencing documentation and tutorials
Not Allowed
- ❌ Copying code from other students
- ❌ Sharing your code with others
- ❌ Using complete solutions found online
- ❌ Having someone else write your code
- ❌ Submitting code you don’t understand
Best Practice
- Write your own code from scratch
- Understand every line you submit
- Cite sources if you use algorithms from references
- Keep your code private don’t share with classmates
- Ask for help properly explain your approach, ask for guidance
Summary
As a student using Wecode:- ✅ Enroll in classes to access assignments
- ✅ Read problem descriptions carefully
- ✅ Submit code via upload or paste
- ✅ View results and learn from errors
- ✅ Select your best submission as final
- ✅ Practice problems to improve skills
- ✅ Track your progress on scoreboards
- ✅ Follow academic integrity guidelines

