Pagini recente » Borderou de evaluare (job #1425711) | Borderou de evaluare (job #336958) | Borderou de evaluare (job #151589) | Borderou de evaluare (job #1390309) | Borderou de evaluare (job #1506636)
Borderou de evaluare (job #1506636)
Raport evaluator
Compilare:
user.cpp: In function ‘int hashh(int)’:
user.cpp:19:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:23:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("oite.in","r",stdin);
^
user.cpp:24:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("oite.out","w",stdout);
^
user.cpp:26:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&c,&l);
^
user.cpp:28:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp: In function ‘int hashh(int)’:
user.cpp:14:35: warning: array subscript is above array bounds [-Warray-bounds]
if(dsp[x][0]==a) {dsp[x][1]++;break;}
^
user.cpp:14:35: warning: array subscript is above array bounds [-Warray-bounds]
user.cpp:15:47: warning: array subscript is above array bounds [-Warray-bounds]
if(dsp[x][0]==0) {dsp[x][0]=a;dsp[x][1]=1;break;}
^
user.cpp: In function ‘int main()’:
user.cpp:38:84: warning: array subscript is above array bounds [-Warray-bounds]
if(dsp[a][0]==t) {sol+=dsp[a][1];break;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 8ms | 4172kb | OK | 10 |
3 | 12ms | 4140kb | OK | 10 |
4 | 12ms | 4160kb | OK | 10 |
5 | 16ms | 4172kb | OK | 10 |
6 | 24ms | 4168kb | OK | 10 |
7 | 32ms | 4168kb | OK | 10 |
8 | 32ms | 4172kb | OK | 10 |
9 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 80 |