Borderou de evaluare (job #2450007)

Utilizator cristinaveraCristina Verdeata cristinavera Data 21 august 2019 14:56:06
Problema Picazo Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int updatel(int, int, int)': main.cpp:16:21: warning: no return statement in function returning non-void [-Wreturn-type] aint[nod].second=0;}} ^ main.cpp: In function 'int update(int, int, int, int, int, long long int)': main.cpp:28:42: warning: control reaches end of non-void function [-Wreturn-type] aint[nod]=max(aint[nod*2],aint[nod*2+1]);} ^ main.cpp: In function 'int main()': main.cpp:38:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("picazo.in","r",stdin); ^ main.cpp:39:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("picazo.out","w",stdout); ^ main.cpp:41:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&k,&q); ^ main.cpp:44:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
17ms2490kbOK1020
27ms2490kbOK10
312ms2621kbOK1040
412ms2621kbOK10
512ms2621kbOK10
612ms2621kbOK10
7362ms10092kbOK1040
8358ms10223kbOK10
9364ms10223kbOK10
10337ms9830kbOK10
Punctaj total100

Ceva nu functioneaza?