Borderou de evaluare (job #1821712)

Utilizator BrandonChris Luntraru Brandon Data 3 decembrie 2016 15:05:40
Problema Rsir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d%I64d%I64d%I64d%I64d%I64d%I64d%I64d%I64d", &t0, &t1, &a, &b, &x, &y, &z, &M, &n); ^ user.cpp:27:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:27:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:27:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:27:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:27:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=] user.cpp:27:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘long long int*’ [-Wformat=] user.cpp:27:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘long long int*’ [-Wformat=] user.cpp:27:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 10 has type ‘long long int*’ [-Wformat=] user.cpp:44:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d\n", tprev); ^ user.cpp:62:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d\n", tcurr); ^ user.cpp:24:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rsir.in", "r", stdin); ^ user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rsir.out", "w", stdout); ^ user.cpp:27:95: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d%I64d%I64d%I64d%I64d%I64d%I64d%I64d%I64d", &t0, &t1, &a, &b, &x, &y, &z, &M, &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbIncorect0
220ms296kbIncorect0
312ms296kbIncorect0
4108ms316kbIncorect0
540ms300kbIncorect0
6108ms316kbIncorect0
7Depăşit356kbTime limit exceeded.0
81256ms364kbIncorect0
91664ms368kbIncorect0
10Depăşit348kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?