Problem factorial
User retxed
Submission Time 2026-10-27 20:21:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

factorial.cpp: In function ‘int main()’:
factorial.cpp:13:18: error: expected ‘;’ before ‘long’
13 | cin.tie(nullptr)
| ^
| ;
14 | long long Q;
| ~~~~
factorial.cpp:15:9: error: ‘Q’ was not declared in this scope
15 | cin >> Q;
| ^
factorial.cpp:18:13: error: ‘N’ was not declared in this scope
18 | cin >> N[i];
| ^