Created
April 29, 2022 15:01
-
-
Save hui-shao/9022cc96da91f56534f49918cbfcaba0 to your computer and use it in GitHub Desktop.
谭式C语言阴间问题之一
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main(){ | |
unsigned short score = -1; | |
printf("%u\n",score); | |
while(score++<13){ | |
score += score+++ ++score; | |
score = --score + score ++; | |
} | |
printf("%u\n",score); | |
score |= 1<<15; | |
printf("%u\n",score); | |
printf("%hd",score); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment