#2398
Moca dorește să posteze pe Pbinfo a probleme de dificultate b. Durata postării celor a probleme de dificultate b este restul împărțirii lui \(a ^ b\) la 1999999973.
| Problema | Moka | Operații I/O |
moka.in/moka.out
|
|---|---|---|---|
| Limita timp | 0.05 secunde | Limita memorie |
Total: 0.1 MB
/
Stivă 0.1 MB
|
| Id soluție | #23119984 | Utilizator | |
| Fișier | moka.cpp | Dimensiune | 524 B |
| Data încărcării | 25 Mai 2020, 10:21 | Scor/rezultat | 0 puncte |
moka.cpp: In function 'int main()': moka.cpp:12:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d %d", &n, &p); ^ moka.cpp:12:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] moka.cpp:10:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("moka.in","r",stdin); ^ moka.cpp:11:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("moka.out","w",stdout); ^ moka.cpp:12:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &p); ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | Depășit | Limita de timp depășită | 10 | 0 | Exemplu | |
| 2 | Depășit | Limita de timp depășită | 10 | 0 | ||
| 3 | Depășit | Limita de timp depășită | 10 | 0 | ||
| 4 | Depășit | Limita de timp depășită | 10 | 0 | ||
| 5 | Depășit | Limita de timp depășită | 10 | 0 | ||
| 6 | Depășit | Limita de timp depășită | 10 | 0 | ||
| 7 | Depășit | Limita de timp depășită | 10 | 0 | ||
| 8 | Depășit | Limita de timp depășită | 10 | 0 | ||
| 9 | Depășit | Limita de timp depășită | 10 | 0 | ||
| 10 | Depășit | Limita de timp depășită | 10 | 0 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Moka 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ă.