Pagini recente » Borderou de evaluare (job #1688819) | Borderou de evaluare (job #52419) | Borderou de evaluare (job #1252077) | Borderou de evaluare (job #2497213) | Borderou de evaluare (job #1200163)
Borderou de evaluare (job #1200163)
Raport evaluator
Compilare:
user.cpp: In function ‘void insertionSort(Elements*, int)’:
user.cpp:8:6: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
int ok,i,j;
^
user.cpp: In function ‘int main()’:
user.cpp:29:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin,"%d %d",&elem[i].x,&elem[i].y);
^
user.cpp:29:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:21:23: warning: unused variable ‘aux’ [-Wunused-variable]
Elements elem[16001],aux;
^
user.cpp:22:8: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,n,total=0;
^
user.cpp:27:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
user.cpp:29:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d",&elem[i].x,&elem[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 10 |
2 | 0ms | 416kb | OK | 10 |
3 | Depăşit | 480kb | Time limit exceeded. | 0 |
4 | 8ms | 536kb | OK | 10 |
5 | 8ms | 536kb | OK | 10 |
6 | 8ms | 536kb | OK | 10 |
7 | 8ms | 536kb | OK | 10 |
8 | 8ms | 540kb | OK | 10 |
9 | 8ms | 532kb | OK | 10 |
10 | 8ms | 544kb | OK | 10 |
Punctaj total | 90 |