Submission #588187

#TimeUTC-0UsernameProblemLanguageResultExecution timeMemory
5881872022-07-02 18:45:26DeepessonLanguages (IOI10_languages)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
#include "lang.h"
#include "grader.h"
#define fi first
#define se second
#define pb push_back
using ll = long long;
ll lang[60][66000];
std::unordered_map<int,int> mapa[60];
std::unordered_map<int,int> mapa2[60];
std::unordered_map<int,int> mapa3[60];
ll tot[60];
ll duptot[60];
ll duptot2[60];
ll duptot3[60];
void excerpt(int *E)
{
{
int best=0;double score=0;
for(int i=0;i!=60;++i){
if(tot[i]>1000){
for(int j=0;j!=100;++j){
if(!lang[i][E[j]){
goto fail;
}
}
goto prox:{}
fail:{}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Compilation message (stderr)

lang.cpp: In function 'void excerpt(int*)':
lang.cpp:25:37: error: expected ']' before ')' token
   25 |                     if(!lang[i][E[j]){
      |                                     ^
      |                                     ]
lang.cpp:29:26: error: expected ';' before ':' token
   29 |                 goto prox:{}
      |                          ^
      |                          ;
lang.cpp:29:26: error: expected primary-expression before ':' token
lang.cpp:33:13: error: expected primary-expression before '}' token
   33 |             }
      |             ^