C with classes

This commit is contained in:
e2hang
2025-12-31 00:39:23 +08:00
commit a047893756
198 changed files with 11173 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#include <iostream>
using namespace std;
int main(){
int n;
cin >> n;
int* a = new int [n];
int js = 0;
for(int i = 0;i < n;i++){
cin >> a[i];
js += a[i];
}
cout << js <<endl;
return 0;
}

BIN
C/BasicSyntax/blaset/1.o Normal file

Binary file not shown.