Pagini recente » Borderou de evaluare (job #193570) | Borderou de evaluare (job #2775312) | Borderou de evaluare (job #634543) | Borderou de evaluare (job #2814644) | Borderou de evaluare (job #1598339)
Borderou de evaluare (job #1598339)
Raport evaluator
Compilare:
user.cpp: In function ‘void heapdown(int&)’:
user.cpp:36:13: warning: unused variable ‘x’ [-Wunused-variable]
int i,j,x;
^
user.cpp: In function ‘void heapsort(int)’:
user.cpp:51:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,ncr=n;
^
user.cpp: In function ‘int main()’:
user.cpp:77:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.in","r",stdin);
^
user.cpp:78:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.out","w",stdout);
^
user.cpp:81:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:84:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&(v[i].x),&(v[i].y),&(v[i].c));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Corect | 10 |
2 | 0ms | 288kb | Corect | 10 |
3 | 0ms | 288kb | Corect | 10 |
4 | 0ms | 296kb | Corect | 10 |
5 | 0ms | 296kb | Corect | 10 |
6 | 300ms | 1848kb | Corect | 10 |
7 | Depăşit | 2180kb | Time limit exceeded. | 0 |
8 | 104ms | 884kb | Corect | 10 |
9 | 132ms | 948kb | Corect | 10 |
10 | Depăşit | 2112kb | Time limit exceeded. | 0 |
Punctaj total | 80 |