Borderou de evaluare (job #2039461)

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

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: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
10ms480kbMissing output file!0
20ms488kbMissing output file!0
30ms484kbMissing output file!0
40ms504kbMissing output file!0
50ms524kbMissing output file!0
64ms556kbMissing output file!0
74ms600kbMissing output file!0
88ms640kbMissing output file!0
912ms680kbMissing output file!0
1012ms712kbMissing output file!0
Punctaj total0

Ceva nu functioneaza?