Pagini recente » Borderou de evaluare (job #663490) | Borderou de evaluare (job #2346014) | Borderou de evaluare (job #380207) | Borderou de evaluare (job #2119585) | Borderou de evaluare (job #2093431)
Borderou de evaluare (job #2093431)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:141:30: warning: suggest parentheses around comparison in operand of ‘!=’ [-Wparentheses]
if(b != 255 || g != 255 != r != 255)
^
user.cpp:141:37: warning: suggest parentheses around comparison in operand of ‘!=’ [-Wparentheses]
if(b != 255 || g != 255 != r != 255)
^
user.cpp:124:19: warning: variable ‘output’ set but not used [-Wunused-but-set-variable]
FILE *input, *output;
^
user.cpp:131:67: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(&bmpFileHeader, sizeof(struct bmp_fileheader), 1, input);
^
user.cpp:132:67: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(&bmpInfoHeader, sizeof(struct bmp_infoheader), 1, input);
^
user.cpp:140:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(input, "%c%c%c", &b, &g, &r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 228kb | Incorect | 0 |
2 | 0ms | 224kb | Incorect | 0 |
3 | 0ms | 228kb | Incorect | 0 |
4 | 0ms | 224kb | Incorect | 0 |
5 | 0ms | 220kb | Incorect | 0 |
6 | 0ms | 220kb | Incorect | 0 |
7 | 0ms | 224kb | Incorect | 0 |
8 | 0ms | 224kb | Incorect | 0 |
9 | 0ms | 220kb | Incorect | 0 |
10 | 0ms | 228kb | Incorect | 0 |
Punctaj total | 0 |