Borderou de evaluare (job #2138931)

Utilizator ovidius11Stiriu Ovidius ovidius11 Data 21 februarie 2018 23:03:31
Problema Sir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int update(int, int, int, int, int)’: user.cpp:16:45: warning: control reaches end of non-void function [-Wreturn-type] maxim[nod]=max(maxim[nod*2],maxim[nod*2+1]);} ^ user.cpp: In function ‘int main()’: user.cpp:36:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir.in","r",stdin); ^ user.cpp:37:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir.out","w",stdout); ^ user.cpp:39:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&n,&x,&y,&z); ^ user.cpp:41:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms824kbOK5
20ms820kbOK5
30ms936kbOK5
40ms824kbOK5
540ms952kbOK5
692ms1076kbOK5
7Depăşit1332kbTime limit exceeded.0
8284ms1332kbOK5
9Depăşit1840kbTime limit exceeded.0
10Depăşit1840kbTime limit exceeded.0
11Depăşit1840kbTime limit exceeded.0
12Depăşit2868kbTime limit exceeded.0
13Depăşit2864kbTime limit exceeded.0
14Depăşit2868kbTime limit exceeded.0
15Depăşit2864kbTime limit exceeded.0
16Depăşit2864kbTime limit exceeded.0
17120ms1080kbOK5
18Depăşit2864kbTime limit exceeded.0
19Depăşit2868kbTime limit exceeded.0
20Depăşit2864kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?