Borderou de evaluare (job #1779522)
Raport evaluator
Compilare:
user.cpp: In function ‘void scrie(int)’:
user.cpp:27:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(x) { a[++t] = x%10+'0'; x/=10; }
^
user.cpp:28:12: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
a[t+1] = NULL;
^
user.cpp:31:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux = a[i];
^
user.cpp:32:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i] = a[j];
^
user.cpp:32:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i] = a[j];
^
user.cpp:33:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[j] = aux;
^
user.cpp: In function ‘void citeste(int&)’:
user.cpp:15:49: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:20:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:40:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progresii.in","r",stdin);
^
user.cpp:41:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progresii.out","w",stdout);
^
user.cpp:46:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %lld %lld",&N,&M,&K,&L);
^
user.cpp:72:17: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[i] = f;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 1024kb | Time limit exceeded. | 0 | 0 |
2 | Depăşit | 1028kb | Time limit exceeded. | 0 | 0 |
3 | Depăşit | 1024kb | Time limit exceeded. | 0 | 0 |
4 | Depăşit | 1028kb | Time limit exceeded. | 0 | 0 |
5 | 144ms | 956kb | OK | 10 | 10 |
6 | Depăşit | 1000kb | Time limit exceeded. | 0 | 0 |
7 | 0ms | 260kb | OK | 10 | 10 |
8 | 0ms | 252kb | OK | 10 | 10 |
9 | 0ms | 276kb | OK | 10 | 20 |
10 | 0ms | 256kb | OK | 10 |
Punctaj total | 50 |