Pagini recente » Borderou de evaluare (job #2386809) | Borderou de evaluare (job #2189915) | Borderou de evaluare (job #3147156) | Borderou de evaluare (job #3244651) | Borderou de evaluare (job #1586251)
Borderou de evaluare (job #1586251)
Raport evaluator
Compilare:
user.cpp: In function ‘bool eval()’:
user.cpp:34:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp:34:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp:53:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ops.top()!='(' && pr[ops.top()]>=pr[op]){
^
user.cpp:53: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:77: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:78: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:86:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str+1);
^
user.cpp:87: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:88:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(line);
^
/tmp/ccgu8sDa.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 | 308kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 308kb | OK | 10 |
4 | 0ms | 308kb | OK | 10 |
5 | 0ms | 304kb | OK | 10 |
6 | 0ms | 308kb | Incorect | 0 |
7 | 0ms | 308kb | OK | 10 |
8 | 0ms | 312kb | OK | 10 |
9 | 0ms | 304kb | Incorect | 0 |
10 | 0ms | 312kb | OK | 10 |
Punctaj total | 80 |