Problema | FractiiMax | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #49041724 | Utilizator | |
Fișier | fractiimax.cpp | Dimensiune | 492 B |
Data încărcării | 13 Februarie 2024, 15:32 | Scor / rezultat | Eroare de compilare |
fractiimax.cpp:1:10: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix] #include <iostream>using namespace std; ^ fractiimax.cpp:1:20: warning: extra tokens at end of #include directive [enabled by default] #include <iostream>using namespace std; ^ fractiimax.cpp: In function 'int main()': fractiimax.cpp:14:5: error: 'cin' was not declared in this scope cin>>f1.x>>f1.y>>f2.x>>f2.y; ^ fractiimax.cpp:14:5: 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:24:9: error: 'cout' was not declared in this scope cout<<f1.x<<" "<<f1.y; ^ fractiimax.cpp:24:9: 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:26:9: error: 'cout' was not declared in this scope cout<<f2.x<<" "<<f2.y; ^ fractiimax.cpp:26:9: 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 ^
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ă.