Pagini recente » Borderou de evaluare (job #179097) | Borderou de evaluare (job #1642044) | Borderou de evaluare (job #159747) | Borderou de evaluare (job #1955692) | Borderou de evaluare (job #1714973)
Borderou de evaluare (job #1714973)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:19:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp: In function ‘void Update(int, int)’:
user.cpp:26:10: warning: statement has no effect [-Wunused-value]
for(x;x<=n;x=x+((x&(x-1))^x))
^
user.cpp: In function ‘int Query(int)’:
user.cpp:31:10: warning: statement has no effect [-Wunused-value]
for(x;x>0;x=x-((x&(x-1))^x))
^
user.cpp: In function ‘int main()’:
user.cpp:56:13: warning: unused variable ‘q’ [-Wunused-variable]
int i,x,q,m,y;
^
user.cpp: In function ‘void read(int&)’:
user.cpp:40: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:48: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:54: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:55: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:57: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 | 8ms | 9064kb | OK | 10 | 10 |
2 | 12ms | 9120kb | OK | 10 | 10 |
3 | 24ms | 9672kb | OK | 10 | 10 |
4 | 208ms | 12116kb | OK | 10 | 10 |
5 | 212ms | 13960kb | OK | 10 | 10 |
6 | 356ms | 14564kb | OK | 10 | 0 |
7 | 1316ms | 20696kb | OK | 10 |
8 | 1572ms | 21308kb | OK | 10 |
9 | 1840ms | 20436kb | OK | 10 |
10 | Depăşit | 23388kb | Time limit exceeded. | 0 |
Punctaj total | 50 |