Borderou de evaluare (job #185041)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Mesaj1 (clasa a 7-a) | Compilator | cpp |
Rundă | Status | evaluat | |
Dată | 23 ian. 2016 14:16:51 | Scor | ascuns |
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:21: warning: unused variable ‘max’ [-Wunused-variable]
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:13:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:14:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:16:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:25:28: warning: ‘poz’ may be used uninitialized in this function [-Wuninitialized]
/tmp/ccPaJr4W.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.