Pagini recente » Borderou de evaluare (job #619027) | Borderou de evaluare (job #2689077) | Borderou de evaluare (job #286982) | Borderou de evaluare (job #1408475) | Borderou de evaluare (job #1714993)
Borderou de evaluare (job #1714993)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:12:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,nextNode;
^
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)))
^
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)))
^
user.cpp: In function ‘int main()’:
user.cpp:62: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:60: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:61: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:63: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 | 7096kb | OK | 10 | 10 |
2 | 8ms | 7152kb | OK | 10 | 10 |
3 | 20ms | 7672kb | OK | 10 | 10 |
4 | 84ms | 10020kb | OK | 10 | 10 |
5 | 276ms | 11780kb | OK | 10 | 10 |
6 | 384ms | 12360kb | OK | 10 | 0 |
7 | 732ms | 18220kb | OK | 10 |
8 | 640ms | 18800kb | OK | 10 |
9 | Depăşit | 17624kb | Time limit exceeded. | 0 |
10 | 648ms | 21700kb | OK | 10 |
Punctaj total | 50 |