大家好,我是Ashly,欢迎来到我的博客,有什么不足或者错误之处还望指正.在这里主要是写一些ACM题解和对算法的理解,一来是为了把在做题中遇到的问题和想法写下来,总结经验;其次是备于日后可以再次审查和翻阅;最后希望能得到众位道友的指点,帮助以及交流,完善自我,共同进步.
Email: vrsashly@gmail.com
QQ: 0x337C9CDC
1 #include <stdio.h> 2 3 void init() { 4 printf("I'm Ashly! "); 5 } 6 7 int main() { 8 init(); 9 return 0; 10 }
1 #include <iostream> 2 using namespace std; 3 4 void init() { 5 cout << "I'am Ashly!" << endl; 6 } 7 8 int main() { 9 init(); 10 return 0; 11 }
1 public class Main { 2 public static void main(String[] arguments) { 3 init(); 4 } 5 6 public static void init() { 7 System.out.println("I'am Ashly!"); 8 } 9 }