Split-pane flow
Statement and editor side by side — context never leaves the screen.
Codeforces with a real editor built in
Open the analytics panel for streaks, activity trends, and difficulty insights — plus suggested next difficulty, readiness, and topic depth. My Notes adds search, pins, and tag filters.
My Notes search
Find notes by text, problem name, contest ID, rating, or tag — in the sidebar or extension popup.
Pinned notes
Star important notes so they stay at the top of your collection.
Tag filters & sorting
Filter by topic tag and sort pinned-first, newest, oldest, or recently updated.
Solve streaks
Track current and best streaks with a 28-day solve calendar plus weekly and monthly activity counts.
Activity heatmap
GitHub-style solve density, weekly solve charts, per-week rating trends, tag activity, and activity insights.
Difficulty distribution
Rated-solve histogram with average rating and peak difficulty, plus comfort, growth, and stretch zones.
Suggested Next Difficulty
Rating readiness and training plan, practice vs contest drift, coach summary, recommended problems, and topic depth by band.
Toggle Original vs Leetify — try the guided hints
You are given t test cases. Each test case consists of an integer n, followed by n integers a₁, a₂, …, aₙ.
Determine whether the sum of all elements is strictly positive.
The first line contains a single integer t (1 ≤ t ≤ 100) — the number of test cases.
Each test case consists of two lines. The first line contains an integer n (1 ≤ n ≤ 100). The second line contains n integers aᵢ (1 ≤ aᵢ ≤ 100).
For each test case, print "Yes" if the sum of all elements is positive, and "No" otherwise. You can print each letter in any case.
1 3 1 2 3
Yes
1 1 5
Yes
#include<iostream>
using namespace std;
void solve(){
int n;cin>>n;
// messy spacing on purpose
cout<<"Yes"<<"
";
}
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;cin>>t;
while(t--)solve();
return 0;
}1 3 1 2 3
Benefits
Built for contest flow — fewer tabs, less friction, faster submits.
Statement and editor side by side — context never leaves the screen.
Tidy messy code before submit, client-side.
Hit Run, flip to results — no page reload dance.
Dark and light modes tuned for long contest nights.
Workflow
Add Leetify from the Chrome Web Store — one click on any Codeforces problem.
The extension reshapes the page into a focused workspace automatically.
Format, run cases, add custom tests, and submit without leaving the pane.
#include<iostream>
using namespace std;
void solve(){
int n;cin>>n;
// messy spacing on purpose
cout<<"Yes"<<"
";
}
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;cin>>t;
while(t--)solve();
return 0;
}1 3 1 2 3
Free Chrome extension. Works on problem pages — install once, compete with less friction.