討論串[問題] 用C++寫程式
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓5(5推 0噓 3→)留言8則,0人參與, 最新作者AstralBrain (妄想制御)時間15年前 (2009/12/15 12:08), 編輯資訊
0
0
0
內容預覽:
第五題:. 我只做了偶數部份 奇數就請你自己想辦法吧. #include<iostream>. #include<algorithm>. #include<numeric>. using namespace std;. int main() {. int a[20];. for(auto i=0;
(還有264個字)

推噓3(3推 0噓 7→)留言10則,0人參與, 最新作者asdf12345 (= =!!)時間15年前 (2009/12/15 11:28), 編輯資訊
0
0
0
內容預覽:
小弟會第一題:. #include<stdio.h>. #include<stdlib.h>. int main(). {. float x,y;. printf("請輸入X,Y值\n");. scanf("%f",&x);. scanf("%f",&y);. if(x>0;y>0). {. pri
(還有105個字)

推噓3(3推 0噓 1→)留言4則,0人參與, 最新作者kenzou時間15年前 (2009/12/15 11:28), 編輯資訊
0
0
0
內容預覽:
#!/usr/bin/env python. # -*- coding: utf-8 -*-. import re. def coordinate(x, y):. if x == 0.0 and y == 0.0:. print '原點'. elif x == 0.0 and y != 0.0:.
(還有627個字)
首頁
上一頁
1
下一頁
尾頁