Pagini recente » Borderou de evaluare (job #2604127) | Borderou de evaluare (job #952832) | Borderou de evaluare (job #2555508) | Borderou de evaluare (job #1619676) | Borderou de evaluare (job #1219900)
Borderou de evaluare (job #1219900)
Raport evaluator
Compilare:
user.cpp: In function ‘void radix_sort()’:
user.cpp:39:51: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
for(int i=1;i<=n;i++) bucket[(a[i]>>shift)&mask]++;
^
user.cpp:41:50: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
for(int i=n;i;i--) p=bucket[(a[i]>>shift)&mask]--,b[p]=a[i],ind2[p]=ind[i];
^
user.cpp: In function ‘int get()’:
user.cpp:18:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
while(buff[pos]<'0' || buff[pos]>'9') nxt;
^
user.cpp:22:12: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
nxt;
^
user.cpp: In function ‘int main()’:
user.cpp:57:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triangles.in","r",stdin);
^
user.cpp:58:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triangles.out","w",stdout);
^
user.cpp: In function ‘void solve()’:
user.cpp:52:21: warning: ‘L’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=L;i<=L+K-1;i++) printf("%d ",ind[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 16ms | 2580kb | Corect! | 10 | 0 |
2 | 84ms | 8060kb | Corect! | 10 |
3 | Depăşit | 31448kb | Time limit exceeded. | 0 |
4 | 200ms | 15864kb | Corect! | 10 |
5 | Depăşit | 31448kb | Time limit exceeded. | 0 |
6 | Depăşit | 31452kb | Time limit exceeded. | 0 |
7 | 92ms | 8056kb | Corect! | 10 |
8 | 200ms | 15872kb | Corect! | 10 |
9 | 16ms | 2508kb | Corect! | 10 |
10 | Depăşit | 31452kb | Time limit exceeded. | 0 |
Punctaj total | 0 |