Pagini recente » Borderou de evaluare (job #207887) | Borderou de evaluare (job #121403) | Borderou de evaluare (job #2724141) | Borderou de evaluare (job #3150145) | Borderou de evaluare (job #1586236)
Borderou de evaluare (job #1586236)
Raport evaluator
Compilare:
user.cpp: In function ‘bool eval()’:
user.cpp:32:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp:32:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp:51:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp:51:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp: In function ‘int main()’:
user.cpp:74: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:75: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:83:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str+1);
^
user.cpp:84:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(line); sscanf(line,"%d",&n);
^
user.cpp:85:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(line);
^
/tmp/cceGvdBa.o: In function `main':
user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 0ms | 312kb | OK | 10 |
4 | 0ms | 308kb | OK | 10 |
5 | 0ms | 304kb | OK | 10 |
6 | 0ms | 312kb | Incorect | 0 |
7 | 0ms | 308kb | OK | 10 |
8 | 0ms | 312kb | Incorect | 0 |
9 | 0ms | 304kb | Incorect | 0 |
10 | 0ms | 308kb | Incorect | 0 |
Punctaj total | 60 |