added ws202425 courses
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
unsigned long long explode(unsigned int m, unsigned short n);
|
||||
|
||||
int main(){
|
||||
printf("2* 2^n: %llu", explode(2,3));
|
||||
}
|
||||
|
||||
unsigned long long explode(unsigned int m, unsigned short n){
|
||||
return m << n; // n mal nach links shiften m*2^n
|
||||
}
|
||||
|
||||
struct Node {
|
||||
int data;
|
||||
struct Node *next;
|
||||
};
|
||||
Reference in New Issue
Block a user