Borderou de evaluare (job #2036273)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 10 octombrie 2017 16:04:19
Problema Itree Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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
1412ms5324kbOK10
2408ms5596kbOK10
3404ms5808kbOK10
4396ms5180kbOK10
5400ms5380kbOK10
6412ms5356kbOK10
716ms2284kbOK10
84ms2024kbOK10
90ms2008kbOK10
100ms2004kbOK10
Punctaj total100

Ceva nu functioneaza?