Borderou de evaluare (job #86387)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Permutări | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 10 nov. 2014 13:20:35 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void afis()’:
user.cpp:13:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat]
user.cpp: In function ‘void gen(int)’:
user.cpp:25:16: error: break statement not within loop or switch
user.cpp: In function ‘int main()’:
user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:43:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:44:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp: In function ‘void afis()’:
user.cpp:13:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]