摘要: #include <cmath>#include <iostream>using namespace std;int main(){ int x = 2; int y = 3; cout << "2*2*2 = " << pow(x,y) << endl; return 0;} 阅读全文
posted @ 2015-01-27 13:22 do+better 阅读(7145) 评论(0) 推荐(0) 编辑
摘要: //第一种写法 #include <stdio.h> int main(){ int a[100], T, n = 0; char ch; for(scanf("%d ", &T); T; T--){ n = 0; char ch; while((ch = getchar()) != '\n'){ 阅读全文
posted @ 2015-01-27 10:56 do+better 阅读(283) 评论(0) 推荐(0) 编辑