Kelionė namo 2
- [1] 2019-04-13 15:04 (74.5)
- [2] 2019-04-13 15:06 (47.1)
- [3] 2019-11-05 19:05 (0)
- [4] 2019-11-05 19:06 (47.1)
- [5] 2020-03-05 13:36 (0)
- [6] 2020-03-05 13:37 (0)
- [7] 2020-03-05 13:45 (0)
- [8] 2020-03-05 13:45 (74.5)
- [9] 2020-03-05 13:47 (0)
- [10] 2020-03-05 13:48 (0)
- [11] 2020-03-05 13:55 (100)
Taškai: 0
Compile: FAIL
kelione_namo_2.cpp: In function ‘int main()’: kelione_namo_2.cpp:8:5: error: expected ‘;’ before ‘freopen’ freopen("kelione_namo_2.out","w",stdout) ^ kelione_namo_2.cpp:10:10: error: ‘n’ was not declared in this scope cin>>n>>d; ^ kelione_namo_2.cpp:10:13: error: ‘d’ was not declared in this scope cin>>n>>d; ^ kelione_namo_2.cpp:16:11: error: ‘x’ was not declared in this scope while(x!=n){ ^ kelione_namo_2.cpp:27:13: error: ‘ats’ was not declared in this scope ats++; ^ kelione_namo_2.cpp:32:11: error: ‘ats’ was not declared in this scope cout<<ats; ^ kelione_namo_2.cpp:9:22: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] int n,d,ats=0,x=1; ^
nr. | result | time | message |
---|