TGTGInsighttelegram intelligenceLIVE / telegram public index
← Computer Programming

TGINSIGHT SIMILAR POSTS

Finn lignende innhold

Kildekanal @cpp_sirius · Post #192 · 7. okt.

#include <iostream> #include <math.h> using namespace std; // Fun Simple 1 float PowerA3(float x){ return pow(x,3); } //int main(){ // float a, b, c; // int d, e; // cout<<"a = "; cin>>a; // cout<<PowerA3(a)<<endl; // // cout<<"b = "; cin>>b; // cout<<PowerA3(b)<<endl; // // cout<<"c = "; cin>>c; // cout<<PowerA3(c)<<endl; // // cout<<"d = "; cin>>d; // cout<<PowerA3(d)<<endl; // // cout<<"e = "; cin>>e; // cout<<PowerA3(e)<<endl; // return 0; //} // Fun Simple 5 void RectSP(int, int, int, int, int*, int*); // header void RectSP(int x1, int y1, int x2, int y2, int *S, int *P){ int l, w; l = abs(y1-y2); w = abs(x1-x2); *S = l*w; *P = 2*(l+w); } int main(){ int x1, y1, x2, y2, y, p; cout<<"Birinchi nuqta: "; cin>>x1>>y1; cout<<"Ikkinchi nuqta: "; cin>>x2>>y2; RectSP(x1, y1, x2, y2, &y, &p); cout<<"Yuza: "<<y<<endl; cout<<"Perimetr: "<<p<<endl; return 0; }

Hashtags

Resultater

4 lignende innlegg funnet

Generelt globalt søk

Tombkeeper

@tombkeepertk · Post #11671 · 26.03.2026, 13:06

# Markdown 测试 ## 代码块 ```c #include <stdio.h> int main(void) { printf("Hello, World!\n"); return 0; } ``` ## 表格 | 1 | 2 | | ---- | ---- | | 3 | 4 | via tombkeeper的微博

Hashtags

不要糖醋放椒盐

@saltplayerupdate · Post #1319 · 21.07.2025, 14:11

发布 SPW 后我才知道侧键可以在一些软件前进后退,因为我从来没用过 说来搞笑,大一的时候买了个 G102,一直用,最开始发现可以自定义 然后我的侧键一直是点击后可以输出文本: #include<stdio.h> int main() { return 0; } (当时初学 C 语言,经常写题目要打这些哈哈哈哈哈)

Hashtags

Telegram github commits and releases

@tgappsupdates · Post #19704 · 15.04.2026, 18:17

TelegramMessenger/tgcalls/experimental • 616810f • 38 files, +38/-0 build: add #include <cstdint> for GCC 15 compatibility TelegramMessenger/tgcalls/experimental • 24fd51b • 7 files, +2218/-19 feat: SCTP signaling improvements for reliable connection establishment Add writable gate for role-based SCTP handshake ordering: caller (isOutgoing=true) starts writable and sends INIT immediately; callee starts not-writable and defers Connect() until first received packet triggers setWritable(true). Implement CustomDcSctpSocket to fix WebRTC's missing timer backoff cap on t1_init and t1_cookie handshake timers. Without this, simultaneous-open under packet loss causes 20+ second stalls due to unlimited exponential backoff (1s, 2s, 4s, 8s...). With the fix: 400ms init, 750ms max backoff, yielding ~18 attempts in 15s and 100% success at 30% loss. Timer values are configurable via JSON custom parameters: - network_sctp_t1_init_ms, network_sctp_t1_cookie_ms, network_sctp_max_backoff_ms Squashed from: - feat: add SCTP writable gate for role-based handshake ordering - chore: whitespace cleanup in NativeNetworkingImpl - fix: CustomDcSctpSocket with t1 timer backoff cap for signaling SCTP TelegramMessenger/tgcalls/experimental • 212a874 • 1 files, +5/-0 fix: use-after-free in InstanceV2ReferenceImpl::writeStateLogRecords() writeStateLogRecords() captured a raw Call* pointer on the media thread and posted it to the worker thread. If stop() called _peerConnection->Close() (which destroys Call) between the post and worker thread execution, the worker thread would dereference a dangling pointer. WebRTC's call_ptr_ is Call* const and never nulled after Close(), so the existing null check didn't catch this. Fix: add _isStopped atomic flag, set before Close() in stop(), checked in the worker thread lambda before accessing call. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> #tgcalls

小小溪部落

@Tribebrook · Post #82 · 27.06.2025, 12:39

#Surge6.0 #Testflight Surge for Mac 6.0 Testflight发布 Surge Mac 6.0 采用全新订阅制,首次购买含 1 年维护订阅期,期满后仍可无限用最后版本,但要升级需续订。首发后一周内订阅可享 20% 折扣。 主要更新亮点: • 全新 Surge Gateway Mode:VMNET 虚拟网关取代原 DHCP Server,支持 IPv6 RA,更灵活高效。 • VIF 引擎重写:极致性能(M4 Mac Mini TCP 吞吐达 31 Gbps)。支持 AQM、TCP pacing、WireGuard 加速。 • Ponte 2.0:多通道穿透,支持自建 STUN,自动选路提升连接质量。 • Snell v5 协议:动态记录大小、UDP over UDP(QUIC 代理),可选出口网卡,systemd socket 激活。 • Smart Group 智能组支持 UDP 流量智能切换。 • 流量统计升级:按主机名统计,保留上月数据。 • Fake DNS v6:支持 IPv6 fake 解析,实现透明代理。 • Linked Profile:托管配置可用 #include 引用,方便本地改动与中心同步。 • 全新 macOS 界面,支持 HTTP 全头模式、wildcard、zstd 压缩等改进。 订阅价(1/3/5 设备):$19.99 / $29.99 / $45.99 每年;首发周内约 $15.99 起。Surge 5 用户若在 2024.7.1 后购入则自动获一年订阅。 完整发布笔记与价格细节见官方链接,想换代、追求高性能和复杂代理玩法的折腾频道用户可重点关注。