Pagini recente » Borderou de evaluare (job #302495) | Borderou de evaluare (job #2358172) | Borderou de evaluare (job #2525094) | Borderou de evaluare (job #1458201) | Borderou de evaluare (job #816689)
Borderou de evaluare (job #816689)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38: warning: suggest explicit braces to avoid ambiguous ‘else’
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 ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp:8: warning: ‘num’ may be used uninitialized in this function
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 ‘int main()’ at user.cpp:15:
/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/ccnQmgbF.o: In function `main':
user.cpp:(.text+0x75): 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 | 4ms | 244kb | Incorect | 0 |
✓ | 4 | 0ms | 240kb | Incorect | 0 |
✓ | 5 | 0ms | 244kb | Incorect | 0 |
✓ | 6 | 4ms | 240kb | Incorect | 0 |
✓ | 7 | 4ms | 244kb | Incorect | 0 |
✓ | 8 | 4ms | 240kb | Incorect | 0 |
✓ | 9 | 4ms | 244kb | Incorect | 0 |
✓ | 10 | 4ms | 244kb | Incorect | 0 |
Punctaj total | 0 |