Pagini recente » Borderou de evaluare (job #3236604) | Borderou de evaluare (job #2546445) | Borderou de evaluare (job #347765) | Borderou de evaluare (job #155111) | Borderou de evaluare (job #1529804)
Borderou de evaluare (job #1529804)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8: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:9: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:10: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/ccbMPdvI.o: In function `main':
user.cpp:(.text.startup+0x55): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 204kb | OK | 10 |
✓ | 2 | 0ms | 208kb | Incorect | 0 |
✓ | 3 | 0ms | 208kb | Incorect | 0 |
✓ | 4 | 0ms | 204kb | Incorect | 0 |
✓ | 5 | 0ms | 208kb | OK | 10 |
✓ | 6 | 0ms | 204kb | Incorect | 0 |
✓ | 7 | 0ms | 212kb | Incorect | 0 |
✓ | 8 | 0ms | 204kb | Incorect | 0 |
✓ | 9 | 0ms | 204kb | Incorect | 0 |
✓ | 10 | 0ms | 204kb | Incorect | 0 |
Punctaj total | 20 |