Pagini recente » Borderou de evaluare (job #3156715) | Borderou de evaluare (job #927986) | Borderou de evaluare (job #2356361) | Borderou de evaluare (job #996290) | Borderou de evaluare (job #1004561)
Borderou de evaluare (job #1004561)
Raport evaluator
Compilare:
user.cpp: In function ‘int verif(int)’:
user.cpp:14:13: warning: NULL used in arithmetic [-Wpointer-arith]
for(;S[i]!=NULL && W-v[pto(S[i])]>=0;i++) W-=v[pto(S[i])];
^
user.cpp:15:15: warning: NULL used in arithmetic [-Wpointer-arith]
return S[i]==NULL;
^
user.cpp: In function ‘int main()’:
user.cpp:23:19: warning: NULL used in arithmetic [-Wpointer-arith]
for(i=0;S[i]!=NULL && W-v[pto(S[i])]>=0;i++){
^
user.cpp:27:26: warning: NULL used in arithmetic [-Wpointer-arith]
if(verif(i)) for(;S[i]!=NULL;i++) out<<S[i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 352kb | OK | 10 | 0 |
2 | 0ms | 352kb | OK | 10 |
3 | 0ms | 356kb | Incorect | 0 |
4 | 0ms | 352kb | OK | 10 |
5 | 0ms | 384kb | OK | 10 |
6 | 4ms | 552kb | OK | 10 |
7 | 4ms | 1332kb | OK | 10 |
8 | 12ms | 1328kb | OK | 10 |
9 | 4ms | 1328kb | OK | 10 |
10 | 4ms | 1332kb | OK | 10 |
Punctaj total | 0 |