Pagini recente » Borderou de evaluare (job #1495335) | Borderou de evaluare (job #2132632) | Borderou de evaluare (job #383234) | Borderou de evaluare (job #1956959) | Borderou de evaluare (job #1818466)
Borderou de evaluare (job #1818466)
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/cc7arRHl.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 | 420kb | Incorect | 0 |
| 3 | 0ms | 424kb | Incorect | 0 |
| 4 | 0ms | 428kb | Incorect | 0 |
| 5 | 0ms | 424kb | OK | 10 |
| 6 | 0ms | 420kb | OK | 10 |
| 7 | 0ms | 420kb | OK | 10 |
| 8 | 0ms | 424kb | OK | 10 |
| 9 | 0ms | 428kb | OK | 10 |
| 10 | 0ms | 424kb | OK | 10 |
| Punctaj total | 60 |