Pagini recente » Cod sursa (job #2009489) | Cod sursa (job #354947) | Cod sursa (job #616299) | Profil Cala_cc09 | Borderou de evaluare (job #1974921)
Borderou de evaluare (job #1974921)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:15: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(i==1&&s[i-1]=='-'||i>1&&s[i-1]=='-'&&strchr("+-/*(",s[i-2])!=0)
^
user.cpp:52:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(v1>0&&pr[s[i]]<=pr[op[v1]]){
^
user.cpp:52:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(v1>0&&pr[s[i]]<=pr[op[v1]]){
^
user.cpp: In function ‘int calcul(int, int, char)’:
user.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 400kb | OK | 10 |
| 2 | 0ms | 400kb | OK | 10 |
| 3 | 0ms | 408kb | OK | 10 |
| 4 | 0ms | 404kb | OK | 10 |
| 5 | 0ms | 400kb | OK | 10 |
| 6 | 0ms | 400kb | OK | 10 |
| 7 | 0ms | 416kb | OK | 10 |
| 8 | 0ms | 420kb | OK | 10 |
| 9 | 0ms | 504kb | OK | 10 |
| 10 | 0ms | 500kb | OK | 10 |
| Punctaj total | 100 |