1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # include "BigIntegerLibrary.hh" # include <iostream> using namespace std; int main() { int a; cin>>a; BigInteger b = 1; for (int i = n; i < 1;i--){ b = b * i; } cout<<b; return 0; } |
IyBpbmNsdWRlICJCaWdJbnRlZ2VyTGlicmFyeS5oaCIKIyBpbmNsdWRlIDxpb3N0cmVhbT4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKaW50IG1haW4oKQp7CglpbnQgYTsKCWNpbj4+YTsKCUJpZ0ludGVnZXIgYiA9IDE7Cglmb3IgKGludCBpID0gbjsgaSA8IDE7aS0tKXsKCQliID0gYiAqIGk7Cgl9IAoJY291dDw8YjsKCXJldHVybiAwOwp9
-
upload with new input
-
result: Success time: 0.01s memory: 2280 kB returned value: 0
100
prog.bc 3: syntax error prog.bc 4: syntax error prog.bc 6: syntax error prog.bc 7: syntax error prog.bc 8: syntax error prog.bc 8: illegal character: I prog.bc 9: syntax error prog.bc 9: syntax error prog.bc 12: syntax error prog.bc 13: Return outside of a function. (standard_in) 1: syntax error
-
result: Success time: 0.02s memory: 2280 kB returned value: 0
5
prog.bc 3: syntax error prog.bc 4: syntax error prog.bc 6: syntax error prog.bc 7: syntax error prog.bc 8: syntax error prog.bc 8: illegal character: I prog.bc 9: syntax error prog.bc 9: syntax error prog.bc 12: syntax error prog.bc 13: Return outside of a function. (standard_in) 1: syntax error



