Problema | FractiiMax | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #52147146 | Utilizator | |
Fișier | fractiimax.cpp | Dimensiune | 333 B |
Data încărcării | 20 Septembrie 2024, 14:42 | Scor / rezultat | Eroare de compilare |
fractiimax.cpp:2:7: error: expected nested-name-specifier before 'namesoace' using namesoace std; ^ fractiimax.cpp:2:7: error: 'namesoace' has not been declared fractiimax.cpp:2:17: error: expected ';' before 'std' using namesoace std; ^ fractiimax.cpp:2:17: error: 'std' does not name a type fractiimax.cpp: In function 'int main()': fractiimax.cpp:12:2: error: 'cin' was not declared in this scope cin>>a>>b>>c>>d; ^ fractiimax.cpp:12:2: note: suggested alternative: In file included from fractiimax.cpp:1:0: /usr/include/c++/4.8/iostream:60:18: note: 'std::cin' extern istream cin; /// Linked to standard input ^ fractiimax.cpp:14:2: error: 'fr2' was not declared in this scope fr2=c/d; ^ fractiimax.cpp:16:6: error: 'cout' was not declared in this scope cout<<a/cmmdc(a,b)<<" "<<b/cmmdc(a,b); ^ fractiimax.cpp:16:6: note: suggested alternative: In file included from fractiimax.cpp:1:0: /usr/include/c++/4.8/iostream:61:18: note: 'std::cout' extern ostream cout; /// Linked to standard output ^ fractiimax.cpp:17:7: error: 'cout' was not declared in this scope else cout<<c/cmmdc(c,d)<<" "<<d/cmmdc(c,d);} ^ fractiimax.cpp:17:7: note: suggested alternative: In file included from fractiimax.cpp:1:0: /usr/include/c++/4.8/iostream:61:18: note: 'std::cout' extern ostream cout; /// Linked to standard output ^ fractiimax.cpp: At global scope: fractiimax.cpp:18:1: error: expected unqualified-id before 'return' return 0;} ^ fractiimax.cpp:18:10: error: expected declaration before '}' token 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ă.