#2377
Pisici
Se cunoaște faptul ca n
pisici mănâncă n
șoareci în n
minute. Sa se determine în cat timp mănâncă m
pisici m
șoareci.
Problema | Pisici | Operații I/O | tastatură/ecran |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #11701492 | Utilizator | |
Fișier | pisici.cpp | Dimensiune | 580 B |
Data încărcării | 07 Noiembrie 2018, 09:04 | Scor / rezultat | Eroare de compilare |
pisici.cpp:9:2: error: stray '\302' in program int n; ^ pisici.cpp:9:2: error: stray '\240' in program pisici.cpp:9:2: error: stray '\302' in program pisici.cpp:9:2: error: stray '\240' in program pisici.cpp:11:2: error: stray '\302' in program cin>>n; ^ pisici.cpp:11:2: error: stray '\240' in program pisici.cpp:11:2: error: stray '\302' in program pisici.cpp:11:2: error: stray '\240' in program pisici.cpp:13:2: error: stray '\302' in program cout<<n%10+n/10%10; ^ pisici.cpp:13:2: error: stray '\240' in program pisici.cpp:13:2: error: stray '\302' in program pisici.cpp:13:2: error: stray '\240' in program pisici.cpp:15:2: error: stray '\302' in program return 0; ^ pisici.cpp:15:2: error: stray '\240' in program pisici.cpp:15:2: error: stray '\302' in program pisici.cpp:15:2: error: stray '\240' in program pisici.cpp:29:2: error: stray '\302' in program unsigned int a,b; ^ pisici.cpp:29:2: error: stray '\240' in program pisici.cpp:29:2: error: stray '\302' in program pisici.cpp:29:2: error: stray '\240' in program pisici.cpp:31:2: error: stray '\302' in program cin>>a>>b; ^ pisici.cpp:31:2: error: stray '\240' in program pisici.cpp:31:2: error: stray '\302' in program pisici.cpp:31:2: error: stray '\240' in program pisici.cpp:33:2: error: stray '\302' in program cout<<a*b<<" "<<2*a+2*b; ^ pisici.cpp:33:2: error: stray '\240' in program pisici.cpp:33:2: error: stray '\302' in program pisici.cpp:33:2: error: stray '\240' in program pisici.cpp:35:2: error: stray '\302' in program return 0; ^ pisici.cpp:35:2: error: stray '\240' in program pisici.cpp:35:2: error: stray '\302' in program pisici.cpp:35:2: error: stray '\240' in program pisici.cpp:59:1: error: stray '\310' in program Citește mai multe pe Brainly.ro - https://brainly.ro/tema/5350681#readmore ^ pisici.cpp:59:1: error: stray '\231' in program pisici.cpp: In function 'int main()': pisici.cpp:25:5: error: redefinition of 'int main()' int main() ^ pisici.cpp:5:5: error: 'int main()' previously defined here int main() ^ pisici.cpp: In function 'int main()': pisici.cpp:45:5: error: redefinition of 'int main()' int main() ^ pisici.cpp:5:5: error: 'int main()' previously defined here int main() ^ pisici.cpp: At global scope: pisici.cpp:59:1: error: 'Cite' does not name a type Citește mai multe pe Brainly.ro - https://brainly.ro/tema/5350681#readmore ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Pisici 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ă.