Borderou de evaluare (job #772377)

Utilizator crushackPopescu Silviu crushack Data 29 iulie 2012 13:44:38
Problema Swap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void update(int, int)’: user.cpp:14: warning: suggest parentheses around arithmetic in operand of ‘^’ user.cpp: In function ‘int query(int)’: user.cpp:20: warning: suggest parentheses around arithmetic in operand of ‘^’ user.cpp: In function ‘int main()’: user.cpp:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:51: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:30: /usr/include/bits/stdio2.h:253: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:30: /usr/include/bits/stdio2.h:253: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOK10
20ms252kbOK10
34ms252kbOK10
44ms316kbOK10
54ms500kbOK10
616ms700kbOK10
712ms716kbOK10
8Depăşit676kbTime limit exceeded.0
916ms708kbOK10
10Depăşit768kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?