Borderou de evaluare (job #1347106)

Utilizator ovidiuz98Zamfir Ovidiu ovidiuz98 Data 18 februarie 2015 19:55:01
Problema Nodiv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void solve(long long int, long long int)’: user.cpp:9:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",niv); ^ user.cpp:25:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",nr); ^ user.cpp:26:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",a); ^ user.cpp: In function ‘int main()’: user.cpp:31:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&T); ^ user.cpp:33:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&N); ^ user.cpp:29:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nodiv.in","r",stdin); ^ user.cpp:30:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nodiv.out","w",stdout); ^ user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&T); ^ user.cpp:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&N); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms256kbOK!10
228ms252kbOK!10
332ms260kbOK!10
440ms256kbOK!10
564ms256kbBad sum!0
664ms256kbBad sum!0
764ms260kbBad sum!0
864ms256kbBad sum!0
964ms256kbBad sum!0
100ms260kbBad sum!0
Punctaj total40

Ceva nu functioneaza?