Add FramaC TDM
This commit is contained in:
parent
713e8d12c4
commit
56e86b4b20
9 changed files with 606 additions and 0 deletions
6
content/conception_formelle/99-DM_framac/code/max_dist.h
Normal file
6
content/conception_formelle/99-DM_framac/code/max_dist.h
Normal file
|
@ -0,0 +1,6 @@
|
|||
#include <limits.h>
|
||||
#include "abs.h"
|
||||
|
||||
/*@ ensures \forall integer a,b; 0 <= a < b < n ==> \result >= abs(tab[a]-tab[b]);
|
||||
*/
|
||||
int max_dist(int *tab, unsigned int n);
|
Loading…
Add table
Add a link
Reference in a new issue