8 条评论
-
wkh @ 2025-8-22 21:44:35Perl
print' ' -
@ 2024-9-8 9:53:42brainf**k 编程语言(提供一个方便的 brainf**k 运行/调试器)
相当于 Python 的
print('a', end=''):++++++[>+++++++++++<-]-.相当于 Python 的
print('\0', end=''):. -
@ 2024-8-19 12:08:32关于HTML,我只写一个a打开之后还是可以看到一个只有一个a的页面(格式我换了)
-
@ 2024-8-18 21:24:55
更短
#include <cstdio> main(){puts("a");} -
@ 2024-8-15 9:51:25
a
-
@ 2024-8-7 17:45:58
python2
print'a' -
@ 2024-7-27 7:48:12
操,想粘贴一下条例把刷屏符发出去了
-
@ 2024-7-26 14:57:48C++不能编译,而且有警告:
Compile Error 0ms 0KiB foo.cc:2:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 2 | main(){printf("a")} | ^~~~ foo.cc: In function ‘int main()’: foo.cc:2:19: error: expected ‘;’ before ‘}’ token 2 | main(){printf("a")} | ^ | ;修改至可编译:
#include<stdio.h> main(){printf("a");}Accepted 2.995333ms 768KiB foo.cc:2:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 2 | main(){printf("a");} | ^~~~ a至无警告:
#include<stdio.h> int main(){printf("a");}Accepted 2.916666ms 536KiB a更短(较上一个减少一个字符):
#include<cstdio> int main(){printf("a");}Accepted 2.841333ms 536KiB aPHP无法运行,但我没学过:
Runtime Error 10.174ms 2220KiB ExitCode: 255 Fatal error: Uncaught Error: Call to undefined function e_() in /w/foo.php:1 Stack trace: #0 {main} thrown in /w/foo.php on line 1Bash(我没学过):
echo 'a'Accepted 4.388666ms 580KiB a
- 1