Pagini recente » Borderou de evaluare (job #525708) | Borderou de evaluare (job #2388867) | Borderou de evaluare (job #2688485) | Borderou de evaluare (job #2850313) | Borderou de evaluare (job #2346040)
Borderou de evaluare (job #2346040)
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 | 36ms | 131kb | OK! | 10 |
7 | 52ms | 131kb | OK! | 10 |
8 | 75ms | 131kb | OK! | 10 |
9 | 89ms | 131kb | OK! | 10 |
10 | 100ms | 131kb | OK! | 10 |
Punctaj total | 100 |