Pagini recente » Borderou de evaluare (job #1194698) | Borderou de evaluare (job #1713810) | Borderou de evaluare (job #2254822) | Borderou de evaluare (job #47534) | Borderou de evaluare (job #1196049)
Borderou de evaluare (job #1196049)
Raport evaluator
Compilare:
user.cpp: In function ‘void citeste(int&)’:
user.cpp:23:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (buff[poz] < '0' || buff[poz] > '9')
^
user.cpp:23:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (buff[poz] < '0' || buff[poz] > '9')
^
user.cpp:25:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
semn = buff[poz];
^
user.cpp:29:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while ('0'<=buff[poz] && buff[poz]<='9')
^
user.cpp:29:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while ('0'<=buff[poz] && buff[poz]<='9')
^
user.cpp:31:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
numar = numar*10 + buff[poz] - '0';
^
user.cpp:27:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:33:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:40:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("slidingwindow.in","r",stdin);
^
user.cpp:41:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&D);
^
user.cpp:42:34: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin),poz=0;
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✗ | 1 | 0ms | 1324kb | Incorect | 0 |
✓ | 2 | 0ms | 1324kb | OK | 5 |
✗ | 3 | 0ms | 1328kb | Incorect | 0 |
✗ | 4 | 56ms | 5320kb | Incorect | 0 |
✗ | 5 | 32ms | 5320kb | Incorect | 0 |
✗ | 6 | 32ms | 5320kb | Incorect | 0 |
✗ | 7 | 32ms | 5324kb | Incorect | 0 |
✗ | 8 | 56ms | 5316kb | Incorect | 0 |
✗ | 9 | 32ms | 5324kb | Incorect | 0 |
✗ | 10 | 32ms | 5320kb | Incorect | 0 |
✓ | 11 | 36ms | 5320kb | Incorect | 0 |
✗ | 12 | 32ms | 5324kb | Incorect | 0 |
✗ | 13 | 36ms | 5320kb | Incorect | 0 |
✗ | 14 | 36ms | 5320kb | Incorect | 0 |
✗ | 15 | 32ms | 5324kb | Incorect | 0 |
✗ | 16 | 36ms | 5324kb | Incorect | 0 |
✗ | 17 | 36ms | 5320kb | Incorect | 0 |
✗ | 18 | 32ms | 5320kb | Incorect | 0 |
✗ | 19 | 0ms | 1320kb | OK | 5 |
✗ | 20 | 692ms | 5320kb | Incorect | 0 |
Punctaj total | 10 |