Pagini recente » Borderou de evaluare (job #1072732) | Borderou de evaluare (job #1928549) | Borderou de evaluare (job #1059681) | Monitorul de evaluare | Borderou de evaluare (job #1360827)
Borderou de evaluare (job #1360827)
Raport evaluator
Compilare:
user.cpp: In function ‘int eval()’:
user.cpp:13:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='+'||s[i]=='-')
^
user.cpp:13:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='+'||s[i]=='-')
^
user.cpp:15:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='+')
^
user.cpp:20:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(s[i]=='-')
^
user.cpp: In function ‘int termen()’:
user.cpp:33:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='*')
^
user.cpp:38:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(s[i]=='/')
^
user.cpp: In function ‘int factor()’:
user.cpp:50:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='(')
^
user.cpp:58:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]>='0'&&s[i]<='9')
^
user.cpp:58:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]>='0'&&s[i]<='9')
^
user.cpp:60:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r=r*10+s[i]-'0';
^
user.cpp: In function ‘int main()’:
user.cpp:69:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.in","r",stdin);
^
user.cpp:70:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.out","w",stdout);
^
user.cpp:71:21: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,N,stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 224kb | Incorect | 0 |
| 2 | 0ms | 232kb | Incorect | 0 |
| 3 | 0ms | 228kb | Incorect | 0 |
| 4 | 0ms | 232kb | Incorect | 0 |
| 5 | 0ms | 224kb | Incorect | 0 |
| 6 | 0ms | 224kb | Incorect | 0 |
| 7 | 0ms | 224kb | Incorect | 0 |
| 8 | 0ms | 228kb | Incorect | 0 |
| 9 | 0ms | 228kb | Incorect | 0 |
| 10 | 0ms | 232kb | Incorect | 0 |
| Punctaj total | 0 |