Borderou de evaluare (job #1604485)

Utilizator flandreiFlavius Andrei flandrei Data 18 februarie 2016 12:41:03
Problema Termite Status done
Runda lot2 Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:111:57: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=] scanf("%i %i %lld", &qr[i].a, &qr[i].b, &qr[i].t); ^ user.cpp:113:33: warning: integer overflow in expression [-Woverflow] qr[i].ans = (1 << 31) - 1; ^ user.cpp:84:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("termite.in", "r", stdin); ^ user.cpp:85:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("termite.out", "w", stdout); ^ user.cpp:87:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i %i %i", &n, &m, &k, &q); ^ user.cpp:93:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &x); ^ user.cpp:100:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i %i", &a, &b, &l); ^ user.cpp:111:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i %lld", &qr[i].a, &qr[i].b, &qr[i].t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms6340kbOK10
28ms6356kbOK10
3276ms9284kbOK10
4656ms12884kbOK10
5940ms15188kbOK10
6996ms15764kbOK10
7Depăşit20916kbTime limit exceeded.0
8Depăşit24268kbTime limit exceeded.0
9Depăşit24264kbTime limit exceeded.0
10Depăşit24268kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?