Borderou de evaluare (job #396225)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cicada | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 23 oct. 2018 10:22:38 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:1: error: ‘__int64’ does not name a type
user.cpp: In function ‘long long int factorizare(int)’:
user.cpp:16:13: error: ‘sum’ was not declared in this scope
user.cpp:26:9: error: ‘sum’ was not declared in this scope
user.cpp:27:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
user.cpp:28:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
user.cpp:30:13: error: ‘sum’ was not declared in this scope
user.cpp:33:12: error: ‘sum’ was not declared in this scope
user.cpp: In function ‘int main()’:
user.cpp:43:37: error: cannot convert ‘const char*’ to ‘FILE* {aka _IO_FILE*}’ for argument ‘1’ to ‘int fprintf(FILE*, const char*, ...)’
user.cpp:47:29: error: cannot convert ‘const char*’ to ‘FILE* {aka _IO_FILE*}’ for argument ‘1’ to ‘int fprintf(FILE*, const char*, ...)’
user.cpp:51:37: error: cannot convert ‘const char*’ to ‘FILE* {aka _IO_FILE*}’ for argument ‘1’ to ‘int fprintf(FILE*, const char*, ...)’
user.cpp:41:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp: In function ‘long long int factorizare(int)’:
user.cpp:34:1: warning: control reaches end of non-void function [-Wreturn-type]