Borderou de evaluare (job #1913894)

Utilizator ajeccAjechiloae Eugen ajecc Data 8 martie 2017 14:34:59
Problema Zoo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void update(int)’: user.cpp:174:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(; pos <= ssize; pos += lsb(pos)) ^ user.cpp: In function ‘int main()’: user.cpp:243:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for1(i, ssize) ^ user.cpp:3:35: note: in definition of macro ‘for1’ #define for1(i,n) for(int i=1; i<=n; i++) ^ user.cpp:195:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zoo.in", "r", stdin); ^ user.cpp:196:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zoo.out", "w", stdout); ^ user.cpp:198:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:202:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &v[i].x, &v[i].y); ^ user.cpp:216:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:222:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &x1, &y1, &x2, &y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK10
20ms444kbOK10
34ms528kbOK10
4Depăşit2920kbTime limit exceeded.0
5140ms3548kbOK10
6Depăşit13096kbTime limit exceeded.0
7Depăşit10192kbTime limit exceeded.0
8Depăşit3524kbTime limit exceeded.0
9Depăşit5980kbTime limit exceeded.0
10Depăşit5980kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?