Pagini recente » Borderou de evaluare (job #592995) | Borderou de evaluare (job #3196674) | Borderou de evaluare (job #370671) | Borderou de evaluare (job #1954445) | Borderou de evaluare (job #1529873)
Borderou de evaluare (job #1529873)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("random.in","r",stdin);
^
user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("random.out","w",stdout);
^
user.cpp:11:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); n=strlen(s+1);
^
/tmp/cc82Tevw.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 216kb | OK | 10 |
✓ | 2 | 0ms | 220kb | Incorect | 0 |
✓ | 3 | 0ms | 212kb | Incorect | 0 |
✓ | 4 | 0ms | 220kb | Incorect | 0 |
✓ | 5 | 0ms | 216kb | OK | 10 |
✓ | 6 | 0ms | 216kb | Incorect | 0 |
✓ | 7 | 0ms | 212kb | Incorect | 0 |
✓ | 8 | 0ms | 216kb | Incorect | 0 |
✓ | 9 | 0ms | 212kb | Incorect | 0 |
✓ | 10 | 0ms | 220kb | Incorect | 0 |
Punctaj total | 20 |