Pagini recente » Borderou de evaluare (job #2615375) | Borderou de evaluare (job #268414) | Borderou de evaluare (job #2913198) | Borderou de evaluare (job #1732407) | Borderou de evaluare (job #1833369)
Borderou de evaluare (job #1833369)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:77:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(vec[i]!=' ')
^
user.cpp:70:9: warning: unused variable ‘j’ [-Wunused-variable]
int m,i,j,k;
^
user.cpp:68:31: 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:69:32: 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:72:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(vec);
^
user.cpp:73:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&m);
^
user.cpp:113:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%c",&a);
^
user.cpp: In function ‘bool fact()’:
user.cpp:63:17: warning: ‘rez’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rez=(rez&exp());
^
user.cpp: In function ‘bool exp()’:
user.cpp:24:17: warning: ‘rez’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rez=(rez|term());
^
/tmp/ccubOqY8.o: In function `main':
user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 0ms | 264kb | OK | 10 |
6 | 0ms | 264kb | OK | 10 |
7 | 0ms | 268kb | Incorect | 0 |
8 | 0ms | 268kb | Incorect | 0 |
9 | 0ms | 268kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 50 |