#include#includeusing namespace std;int main(){int inp,a,b,c,d,out;cin>>inp;for(int i=0;i < inp;i++){cin>>a>>b>>c>>d;if(d-c==b-a)out = (d-c)+d;else if(d/c==b/a)out = (d/c)*d;cout << a << " " << b << " " << c << " " <}return 0;}數字測試是對的執行會顯示CE ()
/11042386/code_11042386.c:2:9: fatal error: iostream: No such file or directory
#include
^~~~~~~~~~
compilation terminated
#include#includeusing namespace std;int main(){int inp,a,b,c,d,out;cin>>inp;for(int i=0;i < inp;i++){cin>>a>>b>>c>>d;if(d-c==b-a)out = (d-c)+d;else if(d/c==b/a)out = (d/c)*d;cout << a << " " << b << " " << c << " " <}return 0;}數字測試是對的執行會顯示CE ()
/11042386/code_11042386.c:2:9: fatal error: iostream: No such file or directory
#include
^~~~~~~~~~
compilation terminated
這樣寫看看呢
#include#includeusing namespace std;int main(){int inp,a,b,c,d,out;cin>>inp;for(int i=0;i < inp;i++){cin>>a>>b>>c>>d;if(d-c==b-a)out = (d-c)+d;else if(d/c==b/a)out = (d/c)*d;cout << a << " " << b << " " << c << " " <}return 0;}數字測試是對的執行會顯示CE ()
/11042386/code_11042386.c:2:9: fatal error: iostream: No such file or directory
#include
^~~~~~~~~~
compilation terminated
#include<iostream>
這樣寫看看呢