Pagini recente » Borderou de evaluare (job #1512970) | Borderou de evaluare (job #2399421) | Borderou de evaluare (job #1376425) | Borderou de evaluare (job #2788766) | Borderou de evaluare (job #1757661)
Borderou de evaluare (job #1757661)
Raport evaluator
Compilare:
user.cpp: In constructor ‘Parser::Parser(const char*)’:
user.cpp:43:11: warning: ‘Parser::inFile’ will be initialized after [-Wreorder]
FILE *inFile;
^
user.cpp:42:9: warning: ‘int Parser::Cursor’ [-Wreorder]
int Cursor;
^
user.cpp:18:5: warning: when initialized here [-Wreorder]
Parser(const char *fileName):
^
user.cpp: In function ‘void getRect(int, int, int, int, int, int, bool, int*)’:
user.cpp:55:25: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(Out, 0, sizeof Out);
^
user.cpp: In constructor ‘Parser::Parser(const char*)’:
user.cpp:21:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(Buffer, kSize, 1, inFile);
^
user.cpp: In member function ‘void Parser::advanceCursor()’:
user.cpp:37:40: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(Buffer, kSize, 1, inFile);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 484kb | OK | 5 | 0 |
| 2 | 0ms | 516kb | Incorect | 0 |
| 3 | 0ms | 524kb | Incorect | 0 |
| 4 | 0ms | 856kb | OK | 5 |
| 5 | 0ms | 860kb | Incorect | 0 |
| 6 | 16ms | 1752kb | Incorect | 0 |
| 19 | 8ms | 4360kb | OK | 5 |
| 20 | 4ms | 568kb | Incorect | 0 |
| 7 | 100ms | 3384kb | Incorect | 0 | 0 |
| 8 | 44ms | 1808kb | OK | 5 |
| 9 | 44ms | 4172kb | Incorect | 0 |
| 10 | 48ms | 4168kb | Incorect | 0 |
| 11 | 48ms | 4172kb | Incorect | 0 |
| 12 | 128ms | 4168kb | Incorect | 0 |
| 13 | 184ms | 4508kb | Incorect | 0 | 0 |
| 14 | 184ms | 4500kb | Incorect | 0 |
| 15 | 180ms | 4452kb | Incorect | 0 |
| 16 | 128ms | 4504kb | Incorect | 0 |
| 17 | 184ms | 4460kb | OK | 5 |
| 18 | 176ms | 4452kb | Incorect | 0 |
| Punctaj total | 0 |