Pagini recente » Concursuri organizate de infoarena | Borderou de evaluare (job #1874445) | Borderou de evaluare (job #722968) | Concursuri organizate de infoarena | Borderou de evaluare (job #2379699)
Borderou de evaluare (job #2379699)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d",&c,&n,&k);
^
main.cpp:33:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&a);
^
main.cpp:59:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[i]);
^
main.cpp:91:45: warning: 'pmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout,"%d\n%d %d",lsolmax,psolmax-lsolmax+1,psolmax);
~~~~~~~^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 524kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 5ms | 131kb | OK | 10 |
| 5 | 11ms | 131kb | OK | 10 |
| 6 | 213ms | 1835kb | OK | 10 |
| 7 | 19ms | 262kb | OK | 10 |
| 8 | 83ms | 524kb | OK | 10 |
| 9 | 105ms | 1310kb | OK | 10 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 100 |