Borderou de evaluare (job #1562989)

Utilizator Costel_DraghiciDraghici Constantin Costel_Draghici Data 5 ianuarie 2016 17:02:35
Problema Maxd Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=] scanf("%d%d",&a,&b); ^ user.cpp:19:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long unsigned int*’ [-Wformat=] user.cpp:20:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=a;i<=b;i++) ^ user.cpp:31:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%d %d %d",minn,div,nr); ^ user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxd.in","r",stdin); ^ user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxd.out","w",stdout); ^ user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit400kbTime limit exceeded.00
2Depăşit400kbTime limit exceeded.0
3Depăşit404kbTime limit exceeded.0
4Depăşit400kbTime limit exceeded.0
5Depăşit396kbTime limit exceeded.00
6Depăşit400kbTime limit exceeded.0
7Depăşit400kbTime limit exceeded.0
80ms436kbOK100
9Depăşit400kbTime limit exceeded.0
10Depăşit400kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?