Pagini recente » Borderou de evaluare (job #1297376) | Borderou de evaluare (job #1093546) | Borderou de evaluare (job #2305456) | Borderou de evaluare (job #2266459) | Borderou de evaluare (job #2642133)
Borderou de evaluare (job #2642133)
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 | 8ms | 2621kb | Incorect | 0 | 0 |
2 | 8ms | 2621kb | Incorect | 0 |
3 | 63ms | 2621kb | Incorect | 0 | 0 |
4 | 114ms | 2883kb | Incorect | 0 |
5 | 600ms | 6422kb | Time limit exceeded | 0 | 0 |
6 | 480ms | 5111kb | Incorect | 0 |
7 | 601ms | 6029kb | Time limit exceeded | 0 |
8 | 601ms | 5140kb | Time limit exceeded | 0 |
9 | 603ms | 9961kb | Time limit exceeded | 0 | 0 |
10 | 601ms | 7340kb | Time limit exceeded | 0 |
11 | 600ms | 9306kb | Time limit exceeded | 0 |
12 | 594ms | 7340kb | Incorect | 0 |
13 | 601ms | 11403kb | Time limit exceeded | 0 | 0 |
14 | 601ms | 9437kb | Time limit exceeded | 0 |
15 | 601ms | 12058kb | Time limit exceeded | 0 |
16 | 603ms | 9306kb | Time limit exceeded | 0 |
17 | 601ms | 13500kb | Time limit exceeded | 0 | 0 |
18 | 600ms | 10616kb | Time limit exceeded | 0 |
19 | 600ms | 13238kb | Time limit exceeded | 0 |
20 | 601ms | 10747kb | Time limit exceeded | 0 |
Punctaj total | 0 |