Borderou de evaluare (job #2039482)

Utilizator alex2kamebossPuscasu Alexandru alex2kameboss Data 14 octombrie 2017 16:31:53
Problema Secventa 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘float*’ [-Wformat=] scanf("%d %d %d\n%d", &n,&l,&u,&c[1]); ^ user.cpp:18:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘float*’ [-Wformat=] scanf("\n%d", &r[1]); ^ user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv3.in","r",stdin); ^ user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv3.out","w",stdout); ^ user.cpp:12:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n%d", &n,&l,&u,&c[1]); ^ user.cpp:15:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &x); ^ user.cpp:18:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n%d", &r[1]); ^ user.cpp:21:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms488kbOK!10
20ms488kbOK!10
30ms480kbOK!10
48ms500kbOK!10
5108ms524kbOK!10
6Depăşit484kbTime limit exceeded.0
7Depăşit528kbTime limit exceeded.0
8176ms632kbOK!10
9Depăşit604kbTime limit exceeded.0
10192ms704kbOK!10
Punctaj total70

Ceva nu functioneaza?