Pagini recente » Borderou de evaluare (job #136468) | Borderou de evaluare (job #1879471) | Borderou de evaluare (job #2424106) | Borderou de evaluare (job #1523191) | Borderou de evaluare (job #980938)
Borderou de evaluare (job #980938)
Raport evaluator
Compilare:
user.cpp: In function ‘bool solve()’:
user.cpp:49:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<exp.size();i++) {
^
user.cpp:51:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
exp[i]=(var[exp[i-1]] || var[exp[i-2]]) + '0';
^
user.cpp:51:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
exp[i]=(var[exp[i-1]] || var[exp[i-2]]) + '0';
^
user.cpp:56:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
exp[i]=(var[exp[i-1]] && var[exp[i-2]]) + '0';
^
user.cpp:56:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
exp[i]=(var[exp[i-1]] && var[exp[i-2]]) + '0';
^
user.cpp:61:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
exp[i-1]=!var[exp[i-1]]+'0';
^
user.cpp: In function ‘int main()’:
user.cpp:119:23: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%c",&ch);
^
user.cpp:72:16: warning: unused variable ‘cnt’ [-Wunused-variable]
int n,ch,i,cnt=-1;
^
user.cpp: In function ‘int priority(char)’:
user.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/tmp/cc82IRZx.o: In function `main':
user.cpp:(.text.startup+0x4e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 240kb | OK! | 10 |
2 | 0ms | 240kb | OK! | 10 |
3 | 0ms | 240kb | OK! | 10 |
4 | 0ms | 244kb | OK! | 10 |
5 | 4ms | 244kb | OK! | 10 |
6 | 4ms | 240kb | Wrong answer! | 0 |
7 | 4ms | 240kb | OK! | 10 |
8 | 4ms | 240kb | OK! | 10 |
9 | 4ms | 240kb | Wrong answer! | 0 |
10 | 4ms | 240kb | OK! | 10 |
Punctaj total | 80 |