Borderou de evaluare (job #1437465)

Utilizator valen.valentinValentin Valeanu valen.valentin Data 17 mai 2015 19:49:54
Problema Sahara Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld",&n,&m,&q); ^ user.cpp:15:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:15:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:16:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&nr); ^ user.cpp:19:47: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld%ld%ld",&x1,&y1,&x2,&y2,&l); ^ user.cpp:19:47: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:19:47: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:19:47: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:19:47: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 6 has type ‘int*’ [-Wformat=] user.cpp:32:18: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld",maxx); ^ user.cpp:13:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sahara.in","r",stdin); ^ user.cpp:14:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sahara.out","w",stdout); ^ user.cpp:15:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld",&n,&m,&q); ^ user.cpp:16:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&nr); ^ user.cpp:19:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld%ld%ld",&x1,&y1,&x2,&y2,&l); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms664kbIncorect0
20ms660kbIncorect0
34ms1448kbIncorect0
412ms2240kbIncorect0
520ms2240kbIncorect0
636ms3028kbIncorect0
764ms3032kbIncorect0
880ms4216kbIncorect0
980ms4220kbIncorect0
1080ms4212kbIncorect0
1180ms4212kbIncorect0
1272ms4192kbIncorect0
1384ms4188kbIncorect0
1476ms4276kbIncorect0
1576ms4204kbIncorect0
1684ms4188kbIncorect0
1784ms4216kbIncorect0
1880ms4216kbIncorect0
1976ms4220kbIncorect0
200ms340kbIncorect0
Punctaj total0

Ceva nu functioneaza?