Nu aveti permisiuni pentru a descarca fisierul grader_test3.in
Borderou de evaluare (job #2627605)
| Utilizator | Data | 11 iunie 2020 14:43:13 | |
|---|---|---|---|
| Problema | Comisia | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 20 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:88:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(out,"%d",minn);
^
main.cpp:34: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:37: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:41: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:26:12: warning: 'ras' may be used uninitialized in this function [-Wmaybe-uninitialized]
return ras;
^~~
main.cpp: In function 'int main()':
main.cpp:72:52: warning: 'ras' may be used uninitialized in this function [-Wmaybe-uninitialized]
pr=max(rmq[i][log(j)],rmq[i+j-po[log(j)]][log(j)]);
~~~~~~~~~^
main.cpp:44: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 | 184ms | 524kb | OK | 10 | 20 |
| 2 | 175ms | 524kb | OK | 10 | |
| 3 | 600ms | 16908kb | Time limit exceeded | 0 | 0 |
| 4 | 603ms | 16121kb | Time limit exceeded | 0 | |
| 5 | 602ms | 16908kb | Time limit exceeded | 0 | |
| 6 | 600ms | 16777kb | Time limit exceeded | 0 | |
| 7 | 600ms | 16121kb | Time limit exceeded | 0 | 0 |
| 8 | 600ms | 16908kb | Time limit exceeded | 0 | |
| 9 | 600ms | 16908kb | Time limit exceeded | 0 | |
| 10 | 601ms | 17039kb | Time limit exceeded | 0 | |
| Punctaj total | 20 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
