Pagini recente » Borderou de evaluare (job #648435) | Borderou de evaluare (job #557976) | Borderou de evaluare (job #1743928) | Borderou de evaluare (job #680206) | Borderou de evaluare (job #1496495)
Borderou de evaluare (job #1496495)
Raport evaluator
Compilare:
user.cpp: In function ‘void skip()’:
user.cpp:16:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[q]==' ')
^
user.cpp: In function ‘bool E()’:
user.cpp:29:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[q]=='O' && s[q+1]=='R')
^
user.cpp: In function ‘bool T()’:
user.cpp:46:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[q]=='A' && s[q+1]=='N')
^
user.cpp: In function ‘bool F()’:
user.cpp:61:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[q]=='(')
^
user.cpp:70:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[q]=='N' && s[q+1]=='O')
^
user.cpp:77:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[q]=='T' && s[q+1]=='R')
^
user.cpp:83:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[q]=='F' && s[q+1]=='A')
^
user.cpp:90:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(val[s[q]-'A'] == 0)
^
user.cpp:96:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(val[s[q]-'A'] == 1)
^
user.cpp:102:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:107: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:108: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:110:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:114:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:119:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 268kb | OK | 10 |
| 5 | 0ms | 276kb | Incorect | 0 |
| 6 | 0ms | 272kb | OK | 10 |
| 7 | 0ms | 272kb | Incorect | 0 |
| 8 | 0ms | 264kb | Incorect | 0 |
| 9 | 0ms | 272kb | Incorect | 0 |
| 10 | 0ms | 268kb | OK | 10 |
| Punctaj total | 60 |