#1273
| Problema | uciv | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #56963911 | Utilizator | |
| Fișier | uciv.cpp | Dimensiune | 206 B |
| Data încărcării | 11 Martie 2025, 21:16 | Scor/rezultat | Eroare de compilare |
uciv.cpp: In function 'int main()': uciv.cpp:5:16: warning: right operand of comma operator has no effect [-Wunused-value] cin >> x, y; ^ uciv.cpp:7:13: error: expected ';' before ')' token for(s<10) ^ uciv.cpp:7:10: warning: statement has no effect [-Wunused-value] for(s<10) ^ uciv.cpp:11:5: error: expected primary-expression before 'for' for(s<=10) ^ uciv.cpp:11:5: error: expected ';' before 'for' uciv.cpp:11:5: error: expected primary-expression before 'for' uciv.cpp:11:5: error: expected ')' before 'for' uciv.cpp:11:14: error: expected ';' before ')' token for(s<=10) ^ uciv.cpp:11:10: warning: statement has no effect [-Wunused-value] for(s<=10) ^ uciv.cpp:15:1: error: expected primary-expression before '}' token } ^ uciv.cpp:15:1: error: expected ';' before '}' token uciv.cpp:15:1: error: expected primary-expression before '}' token uciv.cpp:15:1: error: expected ')' before '}' token uciv.cpp:15:1: error: expected primary-expression before '}' token uciv.cpp:15:1: error: expected ';' before '}' token
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema uciv 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ă.