Skip to content
Snippets Groups Projects
Commit 4824d08d authored by timeo's avatar timeo
Browse files

Graphe de répartition de la somme

parent eb688dfd
No related branches found
No related tags found
No related merge requests found
import matplotlib.pyplot as plt
import csv
value = []
with open('sommeCentre.csv', 'r') as f:
obj = csv.reader(f)
for ligne in obj:
print(ligne[0])
value.append(int(ligne[0]))
plt.plot(value)
plt.show()
...@@ -313,7 +313,7 @@ void ecrireSommeCentre(){ ...@@ -313,7 +313,7 @@ void ecrireSommeCentre(){
int main(){ int main(){
parseFile("testfiles/ACF_70880000_over_0123.txt"); parseFile("testfiles/ACF_70880000_over_0123.txt");
sommeAdditive(); sommeAdditive();
//ecrireSommeCentre(); ecrireSommeCentre();
int32_t* T = new int32_t[fichier.size() + 1]; int32_t* T = new int32_t[fichier.size() + 1];
for (int i = 0; i < fichier.size() + 2; i++){ for (int i = 0; i < fichier.size() + 2; i++){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment