Pagini recente » Borderou de evaluare (job #2607968) | Borderou de evaluare (job #572154) | Borderou de evaluare (job #329691) | Borderou de evaluare (job #1191214) | Borderou de evaluare (job #2627596)
Borderou de evaluare (job #2627596)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:79:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(out,"%d",minn);
^
main.cpp:33:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&n);
^
main.cpp:36:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&rmq[i][0]);
^
main.cpp:40:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&ris);
^
main.cpp: In function 'int log(int)':
main.cpp:25:12: warning: 'ras' may be used uninitialized in this function [-Wmaybe-uninitialized]
return ras;
^~~
main.cpp: In function 'int main()':
main.cpp:67:42: warning: 'ras' may be used uninitialized in this function [-Wmaybe-uninitialized]
pr=max(rmq[i][log(j)],rmq[i+j-log(j)][log(j)]);
~~~^~~~~~~
main.cpp:43:5: warning: 'ras' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(j=1;j<=log(n);j++)
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 308ms | 393kb | Incorect | 0 | 0 |
2 | 351ms | 516kb | Incorect | 0 |
3 | 601ms | 16908kb | Time limit exceeded | 0 | 0 |
4 | 600ms | 16121kb | Time limit exceeded | 0 |
5 | 602ms | 16908kb | Time limit exceeded | 0 |
6 | 600ms | 16777kb | Time limit exceeded | 0 |
7 | 603ms | 16121kb | Time limit exceeded | 0 | 0 |
8 | 603ms | 16908kb | Time limit exceeded | 0 |
9 | 600ms | 16908kb | Time limit exceeded | 0 |
10 | 600ms | 16908kb | Time limit exceeded | 0 |
Punctaj total | 0 |