Pagini recente » Borderou de evaluare (job #476871) | Borderou de evaluare (job #233436) | Borderou de evaluare (job #203071) | Cod sursa (job #608291) | Borderou de evaluare (job #2013000)
Borderou de evaluare (job #2013000)
Raport evaluator
Compilare:
user.cpp: In function ‘int calculeaza()’:
user.cpp:28:15: warning: NULL used in arithmetic [-Wpointer-arith]
while(*p!=NULL)
^
user.cpp:51:30: warning: value computed is not used [-Wunused-value]
st.pop(),*p++;
^
user.cpp: In function ‘int rezolvare()’:
user.cpp:73:15: warning: NULL used in arithmetic [-Wpointer-arith]
while(*n!=NULL)
^
user.cpp:78:37: warning: value computed is not used [-Wunused-value]
v[i]=v[i]*10+*n-'0',*n++;
^
user.cpp:91:17: warning: value computed is not used [-Wunused-value]
*n++;
^
user.cpp: In function ‘int prioritate(char)’:
user.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:98:38: 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:99:40: 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:100:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 0ms | 424kb | Incorect | 0 |
4 | 0ms | 424kb | Incorect | 0 |
5 | 0ms | 428kb | Incorect | 0 |
6 | 0ms | 428kb | OK | 10 |
7 | 0ms | 440kb | Incorect | 0 |
8 | 0ms | 404kb | Killed by signal 8(SIGFPE). | 0 |
9 | 4ms | 624kb | Incorect | 0 |
10 | 0ms | 640kb | Incorect | 0 |
Punctaj total | 30 |