Cell 1ccpppythonjavascripttypescriptjavagorust删除单元复制单元上移下移#include <stdio.h> int main() { int n; scanf("%d", &n); printf("sum = %d\n", n * (n + 1) / 2); return 0; }标准输入 (stdin)10运行 c运行结果运行后显示输出engine: remoteexit: -signal: -time: -memory: -