Pagini recente » Borderou de evaluare (job #199437) | Borderou de evaluare (job #2001856) | Borderou de evaluare (job #2056415) | Borderou de evaluare (job #622919) | Borderou de evaluare (job #1714977)
Borderou de evaluare (job #1714977)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:14:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,nextNode;
^
user.cpp: In function ‘void Update(int, int)’:
user.cpp:28:10: warning: statement has no effect [-Wunused-value]
for(x;x<=n;x=x+(x&(-x)))
^
user.cpp: In function ‘int Query(int)’:
user.cpp:33:10: warning: statement has no effect [-Wunused-value]
for(x;x>0;x=x-(x&(-x)))
^
user.cpp: In function ‘int main()’:
user.cpp:64:13: warning: unused variable ‘q’ [-Wunused-variable]
int i,x,q,m,y;
^
user.cpp: In function ‘void read(int&)’:
user.cpp:42:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer,1,DIM,stdin);
^
user.cpp:50:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer,1,DIM,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:62:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arb.in","r",stdin);
^
user.cpp:63:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arb.out","w",stdout);
^
user.cpp:65:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer,1,DIM,stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 9052kb | OK | 10 | 10 |
2 | 12ms | 9112kb | OK | 10 | 10 |
3 | 24ms | 9676kb | OK | 10 | 10 |
4 | 88ms | 12180kb | OK | 10 | 10 |
5 | 280ms | 14056kb | OK | 10 | 10 |
6 | 380ms | 14672kb | OK | 10 | 0 |
7 | 736ms | 20920kb | OK | 10 |
8 | 644ms | 21548kb | OK | 10 |
9 | Depăşit | 20372kb | Time limit exceeded. | 0 |
10 | 656ms | 24640kb | OK | 10 |
Punctaj total | 50 |