#1462
Gasti
Problema | Gasti | Operații I/O |
gasti.in /gasti.out
|
---|---|---|---|
Limita timp | 0.5 secunde | Limita memorie |
Total: 16 MB
/
Stivă 4 MB
|
Id soluție | #5071239 | Utilizator | |
Fișier | gasti.cpp | Dimensiune | 718 B |
Data încărcării | 30 Aprilie 2017, 15:26 | Scor / rezultat | 40 puncte |
gasti.cpp: In function 'int dfs(int)': gasti.cpp:9:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<a[nod].size(); i++) ^ gasti.cpp:12:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ gasti.cpp: In function 'int main()': gasti.cpp:17:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("gasti.in", "r", stdin); ^ gasti.cpp:18:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("gasti.out", "w", stdout); ^ gasti.cpp:19:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ gasti.cpp:22:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
2 | 0 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
3 | 0.004 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
4 | 0 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
5 | 0.016 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
6 | 0.028 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
7 | 0.032 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
8 | 0.044 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
9 | 0.076 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
10 | 0.108 secunde | Corect prima, Gresit a doua! | 10 | 4 | ||
Punctaj total | 40 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Gasti 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ă.