Pagini recente » Borderou de evaluare (job #2344159) | Borderou de evaluare (job #2901338) | Borderou de evaluare (job #1406) | Borderou de evaluare (job #1361037) | Borderou de evaluare (job #2642132)
Borderou de evaluare (job #2642132)
Raport evaluator
Compilare:
main.cpp: In function 'void update(int, int, int, int, int)':
main.cpp:52:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
main.cpp:54:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
aint[nod]=max(aint[2*nod],aint[2*nod+1]);
^~~~
main.cpp: In function 'int answer(int, int)':
main.cpp:81:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:88:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("heavypath.in","r",stdin);
^
main.cpp:89:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("heavypath.out","w",stdout);
^
main.cpp:91:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &n , &q);
^
main.cpp:94:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &value[i]);
^
main.cpp:99:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x ,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 131kb | Incorect | 0 | 0 |
2 | 3ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | Killed by Signal 11 | 0 | 0 |
4 | 3ms | 131kb | Killed by Signal 11 | 0 |
5 | 3ms | 131kb | Killed by Signal 11 | 0 | 0 |
6 | 3ms | 131kb | Killed by Signal 11 | 0 |
7 | 2ms | 131kb | Killed by Signal 11 | 0 |
8 | 2ms | 131kb | Killed by Signal 11 | 0 |
9 | 3ms | 131kb | Killed by Signal 11 | 0 | 0 |
10 | 3ms | 131kb | Killed by Signal 11 | 0 |
11 | 2ms | 131kb | Killed by Signal 11 | 0 |
12 | 3ms | 131kb | Killed by Signal 11 | 0 |
13 | 3ms | 131kb | Killed by Signal 11 | 0 | 0 |
14 | 3ms | 131kb | Killed by Signal 11 | 0 |
15 | 3ms | 131kb | Killed by Signal 11 | 0 |
16 | 3ms | 131kb | Killed by Signal 11 | 0 |
17 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
18 | 3ms | 131kb | Killed by Signal 11 | 0 |
19 | 3ms | 131kb | Killed by Signal 11 | 0 |
20 | 2ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |