Pagini recente » Borderou de evaluare (job #3233977) | Borderou de evaluare (job #1838309) | Borderou de evaluare (job #1116559) | Borderou de evaluare (job #1127866) | Borderou de evaluare (job #816271)
Borderou de evaluare (job #816271)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:11: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp: In function ‘void print()’:
user.cpp:20: 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:2:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:14:
/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/ccEMTv2G.o: In function `read()':
user.cpp:(.text+0x2bf): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 4ms | 240kb | OK | 10 |
✓ | 2 | 0ms | 240kb | OK | 10 |
✓ | 3 | 0ms | 240kb | OK | 10 |
✓ | 4 | 4ms | 240kb | OK | 10 |
✓ | 5 | 0ms | 240kb | OK | 10 |
✓ | 6 | 4ms | 244kb | OK | 10 |
✓ | 7 | 4ms | 244kb | OK | 10 |
✓ | 8 | 4ms | 240kb | OK | 10 |
✓ | 9 | 4ms | 244kb | OK | 10 |
✓ | 10 | 4ms | 240kb | OK | 10 |
Punctaj total | 100 |