Pagini recente » Borderou de evaluare (job #66376) | Borderou de evaluare (job #817411) | Borderou de evaluare (job #58801) | Borderou de evaluare (job #1125823) | Borderou de evaluare (job #817746)
Borderou de evaluare (job #817746)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:9: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp: In function ‘int main()’:
user.cpp:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
In file included from /usr/include/stdio.h:910,
from /usr/include/c++/4.4/cstdio:45,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:12:
/usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size
/tmp/cc6z7caM.o: In function `read()':
user.cpp:(.text+0x1b7): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 4ms | 240kb | Incorect | 0 |
✓ | 2 | 0ms | 240kb | Incorect | 0 |
✓ | 3 | 0ms | 240kb | Incorect | 0 |
✓ | 4 | 0ms | 240kb | Incorect | 0 |
✓ | 5 | 0ms | 240kb | Incorect | 0 |
✓ | 6 | 4ms | 244kb | Incorect | 0 |
✓ | 7 | 4ms | 244kb | Incorect | 0 |
✓ | 8 | 4ms | 240kb | Incorect | 0 |
✓ | 9 | 12ms | 244kb | Incorect | 0 |
✓ | 10 | 12ms | 240kb | Incorect | 0 |
Punctaj total | 0 |