Problema | FractiiMax | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #53654954 | Utilizator | |
Fișier | fractiimax.cpp | Dimensiune | 418 B |
Data încărcării | 07 Noiembrie 2024, 13:24 | Scor / rezultat | Eroare de compilare |
fractiimax.cpp:2:1: error: expected unqualified-id before '{' token { ^ fractiimax.cpp:5:1: error: 'f1' does not name a type f1,f2; ^ 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:18:10: error: 'f1' was not declared in this scope cin>>f1.a>>f1.b; ^ fractiimax.cpp:19:10: error: 'f2' was not declared in this scope cin>>f2.a>>f2.b; ^ fractiimax.cpp:22:9: error: 'c' was not declared in this scope c=cmmdc(f1.a,f1.b); ^ fractiimax.cpp:23:9: error: 'cout' was not declared in this scope cout<<f1.a/c<<' '<<f1.b/c; ^ fractiimax.cpp:26:9: error: 'c' was not declared in this scope c=cmmdc(f2.a,f2.b); ^ fractiimax.cpp:27:5: error: 'cout' was not declared in this scope cout<<f2.a/c<<' '<<f2.b/c; ^ fractiimax.cpp:27:16: error: 'c' was not declared in this scope cout<<f2.a/c<<' '<<f2.b/c; ^ fractiimax.cpp: At global scope: fractiimax.cpp:30:1: error: expected unqualified-id before 'return' return 0; ^
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ă.