Pagini recente » Borderou de evaluare (job #2184153) | Borderou de evaluare (job #412084) | Borderou de evaluare (job #1993548) | Borderou de evaluare (job #2065943) | Borderou de evaluare (job #1818449)
Borderou de evaluare (job #1818449)
Raport evaluator
Compilare:
user.cpp: In function ‘bool expresie()’:
user.cpp:19:17: warning: the address of ‘bool termen()’ will always evaluate as ‘true’ [-Waddress]
v1=(v1||termen);
^
user.cpp: In function ‘bool termen()’:
user.cpp:30:17: warning: the address of ‘bool factor()’ will always evaluate as ‘true’ [-Waddress]
v2=(v2&&factor);
^
user.cpp: In function ‘int main()’:
user.cpp:60:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.in","r",stdin);
^
user.cpp:61:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.out","w",stdout);
^
user.cpp:62:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:63:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:64:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(op);
^
/tmp/ccMoUlA3.o: In function `main':
user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | Incorect | 0 |
2 | 0ms | 424kb | Incorect | 0 |
3 | 0ms | 424kb | Incorect | 0 |
4 | 0ms | 424kb | Incorect | 0 |
5 | 0ms | 420kb | Incorect | 0 |
6 | 0ms | 424kb | Incorect | 0 |
7 | 0ms | 428kb | Incorect | 0 |
8 | 0ms | 424kb | Incorect | 0 |
9 | 0ms | 428kb | Incorect | 0 |
10 | 0ms | 428kb | Incorect | 0 |
Punctaj total | 0 |