Pagini recente » Atasamentele paginii 1312 | Borderou de evaluare (job #3255770) | Borderou de evaluare (job #1938681) | Borderou de evaluare (job #2986711) | Borderou de evaluare (job #2036273)
Borderou de evaluare (job #2036273)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:1457: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < BasedonyourinputgetarandomalphanumericstringTherandomstringgeneratorcreatesaseriesofnumbersandlettersthathavenopatternThesecanbehelpfulforcreatingsecuritycodesWiththisutilityyougeneratea16characteroutputbasedonyourinputofnumbersandupperandlowercaselettersRandomstringscanbeuniqueUsedincomputingarandomstringgeneratorcanalsobecalledarandomcharacterstringgeneratorThisisanimportanttoolifyouwanttogenerateauniquesetofstringsTheutilitygeneratesasequencethatlacksapatternandisrandomThroughouttimerandomnesswasgeneratedthroughmechanicaldevicessuchasdicecoinflipsandplayingcardsAmechanicalmethodofachievingrandomnesscanbemoretimeandresourceconsumingespeciallywhenalargenumberofrandomizedstringsareneededastheycouldbeinstatisticalapplicationsComputationalrandomstringgeneratorsreplacethetraditionalmechanicaldevicesPossibleapplicationsforarandomstringgeneratorcouldbeforstatisticalsamplingsimulationsandcryptographyForsecurityreasonsarandomstringgeneratorcanbeusefulThegenerationofthistypeofrandomstringcanbeacommonortypicaltaskincomputerprogrammingSomeformsofrandomnessconcernhashorseachalgorithmsAnothertaskthatisrandomconcernsselectingmusictracksInstatisticaltheoryrandomizationisanimportantprinciplewithonepossibleapplicationinvolvingsurveysamplingManyapplicationsofrandomizationhavecausedseveralmethodstoexistforgeneratingrandomdataLotterygamesisonecurrentapplicationSlotmachineoddsareanotheruseofrandomnumbergenerators[i].size(); j++)
^
user.cpp:16:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d", &t);
^
user.cpp:20:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d", &n);
^
user.cpp:23:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d%d", &a, &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 412ms | 5324kb | OK | 10 |
| 2 | 408ms | 5596kb | OK | 10 |
| 3 | 404ms | 5808kb | OK | 10 |
| 4 | 396ms | 5180kb | OK | 10 |
| 5 | 400ms | 5380kb | OK | 10 |
| 6 | 412ms | 5356kb | OK | 10 |
| 7 | 16ms | 2284kb | OK | 10 |
| 8 | 4ms | 2024kb | OK | 10 |
| 9 | 0ms | 2008kb | OK | 10 |
| 10 | 0ms | 2004kb | OK | 10 |
| Punctaj total | 100 |