#1462
Gasti
Problema | Gasti | Operații I/O |
gasti.in /gasti.out
|
---|---|---|---|
Limita timp | 0.5 secunde | Limita memorie |
Total: 16 MB
/
Stivă 4 MB
|
Id soluție | #4589913 | Utilizator | |
Fișier | gasti.cpp | Dimensiune | 1.01 KB |
Data încărcării | 07 Martie 2017, 21:49 | Scor / rezultat | Eroare de compilare |
gasti.cpp:9:21: error: size of array 'a' is too large int a[100000][100000],st[1000000],x,y,x1,i,j,u,n,m,nr,b[100000][10000000],mx,nr1,k; ^ gasti.cpp:9:73: error: size of array 'b' is too large int a[100000][100000],st[1000000],x,y,x1,i,j,u,n,m,nr,b[100000][10000000],mx,nr1,k; ^ gasti.cpp: In function 'void dfs(int)': gasti.cpp:13:5: error: 'b' was not declared in this scope b[nr][++u]=x; ^ gasti.cpp:16:12: error: 'a' was not declared in this scope if(a[x][i]==1&&!viz[i]) ^ gasti.cpp: In function 'int main()': gasti.cpp:28:9: error: 'a' was not declared in this scope a[x][y]=1; ^ gasti.cpp:37:13: error: 'b' was not declared in this scope b[nr][0]=u; ^ gasti.cpp:44:12: error: 'b' was not declared in this scope if(b[i][0]>b[mx][0])mx=i; ^ gasti.cpp:50:16: error: 'b' was not declared in this scope if(b[i][0]==b[k][0])nr1++; ^ gasti.cpp:51:16: error: 'b' was not declared in this scope if(b[i][0]<=b[i][0]&&b[i][0]>b[k][0]){k=i;nr1=1;} ^ gasti.cpp:54:15: error: 'b' was not declared in this scope cout<<(b[mx][0]*b[k][0]*nr1)%666013; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Gasti face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.