Problema | Perm | Operații I/O |
perm.in /perm.out
|
---|---|---|---|
Limita timp | 0.3 secunde | Limita memorie |
Total: 4 MB
/
Stivă 4 MB
|
Id soluție | #9087484 | Utilizator | |
Fișier | perm.cpp | Dimensiune | 1.28 KB |
Data încărcării | 02 Aprilie 2018, 19:14 | Scor / rezultat | 4 puncte |
perm.cpp: In function 'int main()': perm.cpp:7:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("perm.in", "r", stdin); ^ perm.cpp:8:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("perm.out", "w", stdout); ^ perm.cpp:10:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ perm.cpp:12:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); } ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
0 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
1 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
2 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
3 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
4 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
5 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
6 | 0.016 secunde | Raspuns gresit. | 4 | 0 | ||
7 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
8 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
9 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
10 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
11 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
12 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
13 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
14 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
15 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
16 | 0.016 secunde | Raspuns gresit. | 4 | 0 | ||
17 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
18 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
19 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
20 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
21 | 0.016 secunde | Raspuns gresit. | 4 | 0 | ||
22 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
23 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
24 | 0 secunde | OK. | 4 | 4 | ||
Punctaj total | 4 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Perm 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ă.