#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 | #28687974 | Utilizator | |
Fișier | gasti.cpp | Dimensiune | 1.36 KB |
Data încărcării | 15 Martie 2021, 10:09 | Scor / rezultat | Eroare de compilare |
gasti.cpp:10:1: error: 'intn' does not name a type intn,x,y,m,maxi1,maxi2,vf,nrc,nrm1,nrm2; ^ gasti.cpp: In function 'void dfs(int)': gasti.cpp:18:5: error: 'vf' was not declared in this scope vf++; ^ gasti.cpp: In function 'int main()': gasti.cpp:30:10: error: 'n' was not declared in this scope cin>>n>>m; ^ gasti.cpp:30:13: error: 'm' was not declared in this scope cin>>n>>m; ^ gasti.cpp:33:14: error: 'x' was not declared in this scope cin>>x>>y; ^ gasti.cpp:33:17: error: 'y' was not declared in this scope cin>>x>>y; ^ gasti.cpp:41:13: error: 'vf' was not declared in this scope vf=0; ^ gasti.cpp:43:13: error: 'nrc' was not declared in this scope nrc++; ^ gasti.cpp:47:19: error: 'maxi1' was not declared in this scope if(vf>maxi1) ^ gasti.cpp:49:13: error: 'nrm2' was not declared in this scope nrm2=nrm1; ^ gasti.cpp:49:18: error: 'nrm1' was not declared in this scope nrm2=nrm1; ^ gasti.cpp:51:17: error: 'maxi2' was not declared in this scope maxi2=maxi1; ^ gasti.cpp:56:17: error: 'nrm1' was not declared in this scope nrm1++; ^ gasti.cpp:61:20: error: 'maxi2' was not declared in this scope else if(vf>maxi2) ^ gasti.cpp:63:17: error: 'nrm2' was not declared in this scope nrm2=1; ^ gasti.cpp:68:17: error: 'nrm2' was not declared in this scope nrm2++;}}} ^ gasti.cpp:70:8: error: 'nrm1' was not declared in this scope if(nrm1>1){ ^ gasti.cpp:71:15: error: 'nrc' was not declared in this scope cout<<nrc<<" "<<(((((nrm1*(nrm1-1)/2)%666013)*maxi1)%666013)*maxi1)%666013;} ^ gasti.cpp:71:55: error: 'maxi1' was not declared in this scope cout<<nrc<<" "<<(((((nrm1*(nrm1-1)/2)%666013)*maxi1)%666013)*maxi1)%666013;} ^ gasti.cpp:75:15: error: 'nrc' was not declared in this scope cout<<nrc<<" "<<(((nrm2*maxi1)%666013)*maxi2)%666013; ^ gasti.cpp:75:28: error: 'nrm2' was not declared in this scope cout<<nrc<<" "<<(((nrm2*maxi1)%666013)*maxi2)%666013; ^ gasti.cpp:75:33: error: 'maxi1' was not declared in this scope cout<<nrc<<" "<<(((nrm2*maxi1)%666013)*maxi2)%666013; ^ gasti.cpp:75:48: error: 'maxi2' was not declared in this scope cout<<nrc<<" "<<(((nrm2*maxi1)%666013)*maxi2)%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ă.