Pagini recente » Borderou de evaluare (job #2169685) | Borderou de evaluare (job #1919656) | Borderou de evaluare (job #674979) | Borderou de evaluare (job #1919326) | Borderou de evaluare (job #1714970)
Borderou de evaluare (job #1714970)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:17: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:24: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:29: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:54:13: warning: unused variable ‘q’ [-Wunused-variable]
int i,x,q,m,y;
^
user.cpp: In function ‘void read(int&)’:
user.cpp:38: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:46: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:52: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:53: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:55: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 | 9116kb | OK | 10 | 10 |
3 | 24ms | 9668kb | OK | 10 | 10 |
4 | 212ms | 12116kb | OK | 10 | 10 |
5 | 212ms | 13960kb | OK | 10 | 10 |
6 | 364ms | 14564kb | OK | 10 | 0 |
7 | 1348ms | 20692kb | OK | 10 |
8 | 1592ms | 21308kb | OK | 10 |
9 | 1820ms | 20436kb | OK | 10 |
10 | Depăşit | 23376kb | Time limit exceeded. | 0 |
Punctaj total | 50 |