Problema | FractiiMax | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #53654806 | Utilizator | |
Fișier | fractiimax.cpp | Dimensiune | 424 B |
Data încărcării | 07 Noiembrie 2024, 13:20 | Scor / rezultat | Eroare de compilare |
fractiimax.cpp: In function 'int cmmdc(int, int)': fractiimax.cpp:15:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ fractiimax.cpp: In function 'int main()': fractiimax.cpp:18:5: error: 'cin' was not declared in this scope cin>>f1.a>>f1.b; ^ fractiimax.cpp:20:8: error: 'f1a' was not declared in this scope if(f1a*f2b>f1b*f2a) ^ fractiimax.cpp:20:12: error: 'f2b' was not declared in this scope if(f1a*f2b>f1b*f2a) ^ fractiimax.cpp:20:16: error: 'f1b' was not declared in this scope if(f1a*f2b>f1b*f2a) ^ fractiimax.cpp:20:20: error: 'f2a' was not declared in this scope if(f1a*f2b>f1b*f2a) ^ fractiimax.cpp:22:9: error: 'c' was not declared in this scope c=cmmdc(f1.a,f1.b) ^ fractiimax.cpp:23:9: error: expected ';' before 'cout' cout<<f1.a/c<<" "<<f1.b/c; ^ fractiimax.cpp:27:9: error: 'c' was not declared in this scope c=cmmdc(f2.a,f2.b); ^ fractiimax.cpp:28:9: error: 'cout' was not declared in this scope cout<<f2.a/c<<" "<<f2.b/c; ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema FractiiMax 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ă.