Borderou de evaluare (job #1787)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Sword Art Online | Compilator | cpp |
Rundă | Status | evaluat | |
Dată | 26 oct. 2012 23:22:18 | Scor | ascuns |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int random()’:
user.cpp:36:12: error: new declaration ‘int random()’
/usr/include/stdlib.h:327:17: error: ambiguates old declaration ‘long int random()’
user.cpp: In function ‘void generate(int, int, char*)’:
user.cpp:52:62: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat]
user.cpp:52:62: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat]
user.cpp: In function ‘int main()’:
user.cpp:60:30: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
user.cpp:60:30: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]