a238: 我生來赤裸,思想不正的是你
標籤 : 遠征騎士
通過比率 : 2人/2人 ( 100% ) [非即時]
評分方式:
Tolerant

最近更新 : 2023-06-16 12:29

內容

whose that pokemon

 

我生來赤裸,思想不正的是你

" 或鮮少人知,或家喻戶曉,在想甚麼,目光狹窄的可憐人,跳脫你那可悲的框架吧,一事無成的遠征騎士"

 在工程師的眼裡,程式碼終究不是程式,而是其所對應的輸出。

輸入說明

第一行註明語言 (語言:python or c++)

並輸入若干行對應語言之程式碼

 

c++:

只會有 int main(), 變數宣告, cout 以及 for loops

不考慮 include, return 以及 namespace (預設 std and iostream)

換行使用"\n"不含引號

 

python:

只會有 print, 變數宣告 以及 for loops

不考慮 import, functions 以及 classes

 

注意: python print 默認換行, c++ cout 則沒有

 

架構(pseudocode):

set variable to content

for i (0 to (variable or content)) do

    DISPLAY (variable or content)

end for  

 

 

BOTH CASE SENSITIVE

輸出說明

輸出對應輸出

範例輸入
c++
int main(){
  int a=30;
  for(int i=0;i<a;i++){
    cout << "hello";
  }
}
範例輸出
hellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohello
測資資訊:
記憶體限制: 128 MB
公開 測資點#0 (20%): 1.0s , <1K
公開 測資點#1 (20%): 1.0s , <1K
公開 測資點#2 (10%): 1.0s , <1K
公開 測資點#3 (50%): 2.0s , <1K
提示 :
標籤:
遠征騎士
出處:
[管理者:
much1112 (猛湶)
]


編號 身分 題目 主題 人氣 發表日期
沒有發現任何「解題報告」