Borderou de evaluare (job #1702840)

Utilizator atatomirTatomir Alex atatomir Data 15 mai 2016 16:49:39
Problema Taxi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:35: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] #define give(x) printf("%lld\n", x) ^ user.cpp:42:13: note: in expansion of macro ‘give’ give(0); ^ user.cpp:31:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taxi.in","r",stdin); ^ user.cpp:32:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taxi.out","w",stdout); ^ user.cpp:34:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (scanf("%d", &t), ti = 1; ti <= t; ti++) { ^ user.cpp:35:70: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld%lld%lld%lld", &A, &B, &x1, &y1, &x2, &y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
180ms436kbIncorect0
2124ms440kbIncorect0
3180ms436kbIncorect0
40ms440kbIncorect0
50ms436kbOK10
60ms432kbIncorect0
70ms436kbIncorect0
80ms432kbIncorect0
90ms436kbIncorect0
100ms436kbIncorect0
Punctaj total10

Ceva nu functioneaza?