摘要:
https://leetcode.com/problems/friend-circles/ There are N students in a class. Some of them are friends, while some are not. Their friendship is trans 阅读全文
摘要:
A. Alex and a Rhombus #include <bits/stdc++.h> using namespace std; int num[110]; int N; int main() { memset(num, 0, sizeof(num)); num[0] = 0, num[1] 阅读全文
摘要:
A. Ropewalkers #include <bits/stdc++.h> using namespace std; int num[5]; int d; int main() { for(int i = 0; i < 3; i ++) scanf("%d", &num[i]); scanf(" 阅读全文
摘要:
https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60/ In a list of songs, the i-th song has a duration of time[i] seconds 阅读全文