Borderou de evaluare (job #1950802)

Utilizator RazvipripPrip Razvi Razviprip Data 3 aprilie 2017 11:52:26
Problema Cmmdc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(x%d==0) if(x/d==d) a[d]++; ^ user.cpp:29:18: warning: left operand of comma operator has no effect [-Wunused-value] for(d=max1; d>=1,a[d]<k ; d--); ^ user.cpp:34:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(b[i]) ^ user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmmdc2.in","r",stdin); ^ user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmmdc2.out","w",stdout); ^ user.cpp:9:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld",&n,&k); ^ user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK5
24ms1320kbOK5
30ms644kbOK5
40ms280kbOK5
54ms788kbOK5
620ms352kbOK5
724ms5300kbOK5
880ms1840kbOK5
996ms2620kbOK5
10Depăşit8060kbTime limit exceeded.0
11Depăşit8064kbTime limit exceeded.0
12Depăşit8060kbTime limit exceeded.0
13Depăşit8072kbTime limit exceeded.0
14Depăşit8060kbTime limit exceeded.0
15Depăşit8064kbTime limit exceeded.0
16Depăşit8064kbTime limit exceeded.0
17Depăşit8064kbTime limit exceeded.0
18Depăşit8068kbTime limit exceeded.0
19Depăşit8068kbTime limit exceeded.0
200ms272kbOK5
Punctaj total50

Ceva nu functioneaza?