Pagini recente » Borderou de evaluare (job #584678) | Borderou de evaluare (job #1860579) | Borderou de evaluare (job #1946966) | Borderou de evaluare (job #2662994) | Borderou de evaluare (job #1478670)
Borderou de evaluare (job #1478670)
Raport evaluator
Compilare:
user.cpp: In function ‘int citeste()’:
user.cpp:20:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!('0'<=buff[pos]&&buff[pos]<='9')) add();
^
user.cpp:20:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!('0'<=buff[pos]&&buff[pos]<='9')) add();
^
user.cpp:21:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while('0'<=buff[pos]&&buff[pos]<='9')
^
user.cpp:21:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while('0'<=buff[pos]&&buff[pos]<='9')
^
user.cpp:24:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr+=buff[pos]-'0';
^
user.cpp: In function ‘int main()’:
user.cpp:69:7: warning: unused variable ‘posib1’ [-Wunused-variable]
int posib1=0,ct1=1;
^
user.cpp:69:16: warning: unused variable ‘ct1’ [-Wunused-variable]
int posib1=0,ct1=1;
^
user.cpp: In function ‘void add()’:
user.cpp:14:39: 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,fin);
^
user.cpp: In function ‘int main()’:
user.cpp:32:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("avarcolaci.out","w",stdout);
^
user.cpp:33:23: 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,fin);
^
user.cpp:63:23: 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,fin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 236kb | OK | 10 |
| 2 | Depăşit | 200kb | Time limit exceeded. | 0 |
| 3 | 2140ms | 220kb | Incorect | 0 |
| 4 | 4ms | 220kb | Incorect | 0 |
| 5 | 20ms | 216kb | Incorect | 0 |
| 6 | Depăşit | 208kb | Time limit exceeded. | 0 |
| 7 | 8ms | 216kb | Incorect | 0 |
| 8 | Depăşit | 208kb | Time limit exceeded. | 0 |
| 9 | 52ms | 216kb | Incorect | 0 |
| 10 | Depăşit | 204kb | Time limit exceeded. | 0 |
| Punctaj total | 10 |