Borderou de evaluare (job #1914115)

Utilizator ajeccAjechiloae Eugen ajecc Data 8 martie 2017 15:35:45
Problema Zoo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void update(int)’: user.cpp:179: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:249: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:200: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:201: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:203:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:207: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:221:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:227: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
10ms444kbOK10
20ms444kbOK10
30ms536kbOK10
4Depăşit2176kbTime limit exceeded.0
5140ms3552kbOK10
6136ms3552kbOK10
7Depăşit4712kbTime limit exceeded.0
8300ms4828kbOK10
9Depăşit5980kbTime limit exceeded.0
10Depăşit5980kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?