Borderou de evaluare (job #1266027)

Utilizator radudurlesteanuDurlesteanu Radu Stefan radudurlesteanu Data 18 noiembrie 2014 08:40:50
Problema SumDiv2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:27: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (j%d==0) if (d*d==j) sdiv[j]+=d; ^ user.cpp:23:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",S); ^ user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sumdiv2.in","r",stdin); ^ user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sumdiv2.out","w",stdout); ^ user.cpp:9:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b);S=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK5
20ms248kbOK5
30ms252kbOK5
40ms248kbOK5
516ms284kbOK5
616ms292kbOK5
7Depăşit640kbTime limit exceeded.0
8Depăşit636kbTime limit exceeded.0
9Depăşit640kbTime limit exceeded.0
10Depăşit640kbTime limit exceeded.0
11Depăşit444kbTime limit exceeded.0
12Depăşit484kbTime limit exceeded.0
13Depăşit484kbTime limit exceeded.0
14Depăşit552kbTime limit exceeded.0
15Depăşit500kbTime limit exceeded.0
16Depăşit452kbTime limit exceeded.0
17Depăşit484kbTime limit exceeded.0
18Depăşit432kbTime limit exceeded.0
19Depăşit440kbTime limit exceeded.0
20Depăşit776kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?