Pagini recente » Borderou de evaluare (job #1385945) | Borderou de evaluare (job #2280369)
Borderou de evaluare (job #2280369)
Raport evaluator
Compilare:
main.cpp: In function 'void rmq()':
main.cpp:29:32: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
if(d[0][i][p-1]<d[0][i+(1<<p-1)][p-1]){
~^~
main.cpp:34:28: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
d[0][i][p]=d[0][i+(1<<p-1)][p-1];
~^~
main.cpp:35:28: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
d[1][i][p]=d[1][i+(1<<p-1)][p-1];
~^~
main.cpp: In function 'void dfs(int, int)':
main.cpp:47:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[nod].size(); i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:91:8: warning: statement has no effect [-Wunused-value]
for(m; m>0; m--){
^
main.cpp:58:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^
main.cpp:60:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &a);
^
main.cpp:92:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 7ms | 2490kb | OK | 10 | 10 |
2 | 9ms | 2752kb | OK | 10 | 10 |
3 | 46ms | 6287kb | OK | 10 | 10 |
4 | 339ms | 24760kb | OK | 10 | 10 |
5 | 486ms | 39305kb | OK | 10 | 10 |
6 | 601ms | 39567kb | OK | 10 | 10 |
7 | 1505ms | 53317kb | OK | 10 | 10 |
8 | 2201ms | 42057kb | OK | 10 | 0 |
9 | 2709ms | 42975kb | OK | 10 |
10 | 2801ms | 43106kb | Time limit exceeded | 0 |
Punctaj total | 70 |