Borderou de evaluare (job #2642132)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 13 august 2020 19:18:42
Problema Heavy Path Decomposition Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

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
13ms131kbIncorect00
23ms131kbIncorect0
33ms131kbKilled by Signal 1100
43ms131kbKilled by Signal 110
53ms131kbKilled by Signal 1100
63ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
93ms131kbKilled by Signal 1100
103ms131kbKilled by Signal 110
112ms131kbKilled by Signal 110
123ms131kbKilled by Signal 110
133ms131kbKilled by Signal 1100
143ms131kbKilled by Signal 110
153ms131kbKilled by Signal 110
163ms131kbKilled by Signal 110
172ms131kbKilled by Signal 1100
183ms131kbKilled by Signal 110
193ms131kbKilled by Signal 110
202ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?