Ça fait 4 minutes et Ada a déjà rafraichit la page une centaine de fois. Elle décide d’aller faire un tour dehors pour se calmer. Et d’appeler sa grand-mère, tiens. Ça lui fera du bien de parler à quelqu’un pour qui les mots « retweet », « œuvre numérique » ou « algorithme d’Euclide » ne veulent absolument rien dire ! Quand elle revient quelques heures plus tard, les choses s’emballent. Son pouls s’accélère en voyant les nombreuses notifications, les commentaires positifs d’abord, mais aussi d’autres commentaires plus étranges. Des messages qui n’en finissent plus d’arriver. Et un hashtag… #AdaPlagiat ? Elle n’en croit pas ses yeux. Elle est sidérée, ses oreilles bourdonnent. Elle manque de s’effondrer, mais ses connaissances en informatique lui permettent de ne pas sombrer. C’est alors la colère qui prend le relais : elle veut savoir qui est à l’origine de ses accusations et qui ose se revendiquer de ses œuvres !
Règles
Tu as à ta disposition dans la variable tweets tous les tweets qui contenaient le hashtag #AdaPlagiat. Chaque tweet présente 2 informations :
La portée du tweet (= le nombre d’affichages)
Les comptes qui étaient mentionnés
Les informations sont structurées de la façon suivante : portée;compte1,compte2,compte3…
Le compte d’origine est forcément le compte qui a bénéficié du plus d’affichages.
Tu dois retourner le compte d’origine et son nombre d’affichages total, séparé par :
Exemple de sortie : VilainCompte:12345
Solve the challenge
To code this challenge, several possibilities: - Want to start coding right away? Use the online Sandbox. - Want to work in your favorite editor? Organize your code well, test, check out our API documentation. - You can also copy/paste a dataset below.
Progress through challenges using our resolution aids: tools, techniques and advice to help you overcome the most complex programming challenges with methodology, confidence and creativity.
Dataset and algorithmic logic
Based on the data and the expected response, use the process to determine the logic to implement.
Chacun de ces comptes ont été vus par 38858 followers : FunkyArtDevotee, PopCultureInfluencer, FunkyFreshArt, PopCulturePhenom, ArtisticJunkie. Chacun de ces comptes ont été vus par 16071 followers : PopCulturePhenom, MangaMaven, PixelPainter, PopCultureFanatic, MangaManiac. Chacun de ces comptes ont été vus par 4093 followers : ArtisticJunkie, DigitalCreativePro, ArtisticVisionary, MangaMaven. Chacun de ces comptes ont été vus par 49565 followers : DigitalCreativePro, DigitalMuseMaker, PopCultureFanatic, ArtisticJunkie. Chacun de ces comptes ont été vus par 6652 followers : PixelPainter, DigitalWizardry. Chacun de ces comptes ont été vus par 22196 followers : MangaManiac, MangaMagic, DigitalWizardry. Chacun de ces comptes ont été vus par 39232 followers : MangaMagic, FunkyArtDevotee, DigitalCreativePro, PopCultureScribe. Chacun de ces comptes ont été vus par 21596 followers : ArtisticJunkie, PopCulturePhenom. Chacun de ces comptes ont été vus par 41308 followers : DigitalDreamer, FunkyArtDevotee, PixelPainter, PopCulturePundit, MangaMaven. Chacun de ces comptes ont été vus par 32380 followers : PopCulturePundit, PopCultureFanatic, PixelPainter, PopCulturePhenom, PopCultureExplorer. Chacun de ces comptes ont été vus par 34975 followers : DigitalDreamer, PixelPainter. Chacun de ces comptes ont été vus par 48886 followers : PopCultureScribe, PopCultureExplorer, FunkyArtDevotee, DigitalDreamer, MangaMaven. Chacun de ces comptes ont été vus par 27704 followers : PopCultureExplorer, FunkyArtDevotee. Chacun de ces comptes ont été vus par 2233 followers : MangaMaven, PopCultureFanatic, ArtisticVisionary. Chacun de ces comptes ont été vus par 39786 followers : FunkyArtDevotee, FunkyFreshArt, MangaMaestro, MangaMagic. Chacun de ces comptes ont été vus par 47214 followers : MangaMaestro, DigitalWizardry, PopCulturePundit, DigitalMuseMaker, FunkyFreshArt. Chacun de ces comptes ont été vus par 8095 followers : PopCultureScribe, MangaMaestro. Chacun de ces comptes ont été vus par 42405 followers : PopCultureExplorer, ArtisticJunkie. Chacun de ces comptes ont été vus par 39279 followers : FunkyArtDevotee, PopCulturePundit, MangaMaestro, ArtisticVisionary. Chacun de ces comptes ont été vus par 31956 followers : DigitalDreamer, MangaMaven. Chacun de ces comptes ont été vus par 48851 followers : PopCulturePundit, DigitalWizardry, PopCultureFanatic. Chacun de ces comptes ont été vus par 43142 followers : MangaManiac, PopCulturePhenom. Chacun de ces comptes ont été vus par 6332 followers : PixelPainter, MangaMaven, PopCulturePhenom. Chacun de ces comptes ont été vus par 40821 followers : DigitalCreativePro, MangaManiac, DigitalWizardry. Chacun de ces comptes ont été vus par 41727 followers : PopCulturePundit, DigitalCreativePro, PopCultureInfluencer. Chacun de ces comptes ont été vus par 9961 followers : PopCulturePundit, PopCultureExplorer, ArtisticJunkie. Chacun de ces comptes ont été vus par 29816 followers : PopCultureExplorer, ArtisticJunkie. Chacun de ces comptes ont été vus par 28035 followers : DigitalMuseMaker, PopCultureInfluencer. Chacun de ces comptes ont été vus par 22336 followers : DigitalMuseMaker, FunkyArtDevotee, PixelPoet, PopCultureInfluencer, MangaMaven. Chacun de ces comptes ont été vus par 48940 followers : PopCultureInfluencer, PopCultureScribe. Chacun de ces comptes ont été vus par 48430 followers : MangaMagic, MangaMaestro. Chacun de ces comptes ont été vus par 22063 followers : PopCultureInfluencer, ArtisticVisionary. Chacun de ces comptes ont été vus par 23563 followers : PixelPoet, MangaManiac, MangaMaven. Chacun de ces comptes ont été vus par 48756 followers : MangaMaestro, MangaMaven, PixelPoet. Chacun de ces comptes ont été vus par 2714 followers : PopCulturePhenom, PopCultureExplorer. Chacun de ces comptes ont été vus par 3293 followers : PopCultureScribe, DigitalWizardry. Chacun de ces comptes ont été vus par 17465 followers : PopCultureExplorer, PopCultureFanatic, PopCultureInfluencer. Chacun de ces comptes ont été vus par 43847 followers : PopCultureExplorer, MangaManiac, MangaMagic, FunkyFreshArt. Chacun de ces comptes ont été vus par 24167 followers : PixelPoet, PopCultureExplorer, PopCulturePundit. Chacun de ces comptes ont été vus par 32447 followers : ArtisticVisionary, PopCulturePhenom, ArtisticJunkie, FunkyArtDevotee, PopCultureScribe. Après avoir fait les sommes, c'est le compte FunkyArtDevotee qui a été le + vu... par 329836 followers.
Methodologies
Develop a structured approach with our solving guides. Work on specific concepts such as object-oriented programming or unit testing to improve your coding style and progress.
No methodology yet for this challenge, but we are working on it! Follow us to be informed of the release!
Corrections
The corrections allow you to discover certain technical concepts but will also give you a solution to the challenge. Code the challenge yourself before consulting the corrections ;)
No answer yet for this challenge, but we&'re working on it! Follow us to be informed of the release!
Programming concept(s) that can be used to solve this challenge:
Tableaux, Parsing
Keep coding
Other challenges to complete
Beginner
Greenoid #5 - A few more hours
CalculationCorrigé disponible : Javascript
Intermediate
Coach de foot #2
Tu as une équipe de foot à construire pour le prochain match. Cette fois-ci la tâche se complique, il va falloir prendre en compte la composition de départ et les positions des joueurs.
Calculation
Beginner
Affaire BL4CKWELL – Docteure Synapse
Analyse une séquence temporelle piratée, détecte les anomalies cachées dans un algorithme sophistiqué.