Borderou de evaluare (job #1223335)

Utilizator AndreeaBaltaBalta Andreea Cristina AndreeaBalta Data 27 august 2014 19:34:35
Problema Reuniune Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:63: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in, "%I64d%I64d%I64d%I64d", &a.x1, &a.y1, &a.x2, &a.y2); ^ user.cpp:36:63: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:36:63: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:36:63: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:37:66: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in, "%I64d%I64d%I64d%I64d", &b.x1, &b.y1, &b.x2, &b.y2); ^ user.cpp:37:66: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:37:66: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:37:66: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:38:66: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in, "%I64d%I64d%I64d%I64d", &c.x1, &c.y1, &c.x2, &c.y2); ^ user.cpp:38:66: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:38:66: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:38:66: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:41:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out, "%I64d %I64d", A, Peri); ^ user.cpp:41:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:36:64: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%I64d%I64d%I64d%I64d", &a.x1, &a.y1, &a.x2, &a.y2); ^ user.cpp:37:67: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%I64d%I64d%I64d%I64d", &b.x1, &b.y1, &b.x2, &b.y2); ^ user.cpp:38:67: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%I64d%I64d%I64d%I64d", &c.x1, &c.y1, &c.x2, &c.y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbIncorect0
20ms280kbIncorect0
30ms280kbIncorect0
40ms276kbIncorect0
50ms276kbIncorect0
60ms276kbIncorect0
70ms272kbIncorect0
80ms276kbIncorect0
90ms276kbIncorect0
100ms280kbIncorect0
Punctaj total0

Ceva nu functioneaza?