Pagini recente » Borderou de evaluare (job #3282773) | Borderou de evaluare (job #3254139) | Borderou de evaluare (job #3235875) | Borderou de evaluare (job #3275578) | Borderou de evaluare (job #2346037)
Borderou de evaluare (job #2346037)
Raport evaluator
Compilare:
main.cpp: In function 'void SolveProblemNigga()':
main.cpp:30:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&N);
^
main.cpp:33:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&X,&Y);
^
main.cpp:43:34: warning: 'drmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(g,"%d %d",stmax,drmax-stmax+1);
~~~~~^~~~~~
main.cpp:41:64: warning: 'stmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
BestSumOne=Stot-(-1)*(BestSumTwo),stmax=drmin+1,drmax=N+stmin-1;
~^~~~~~
main.cpp:41:48: warning: 'drmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
BestSumOne=Stot-(-1)*(BestSumTwo),stmax=drmin+1,drmax=N+stmin-1;
~~~~~^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 5ms | 131kb | OK! | 10 |
4 | 10ms | 131kb | OK! | 10 |
5 | 18ms | 131kb | OK! | 10 |
6 | 35ms | 131kb | OK! | 10 |
7 | 53ms | 131kb | OK! | 10 |
8 | 77ms | 131kb | OK! | 10 |
9 | 90ms | 131kb | OK! | 10 |
10 | 96ms | 131kb | OK! | 10 |
Punctaj total | 100 |