Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2252467)
| Utilizator | Data | 2 octombrie 2018 19:17:49 | |
|---|---|---|---|
| Problema | Decod | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:72:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat=]
scanf("%s\n", &first);
^
user.cpp:68:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("decod.in", "r", stdin);
^
user.cpp:69:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("decod.out", "w", stdout);
^
user.cpp:71:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &k, &p);
^
user.cpp:72:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &first);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 860kb | OK | 10 |
| 2 | 0ms | 816kb | OK | 10 |
| 3 | 0ms | 752kb | OK | 10 |
| 4 | 0ms | 804kb | OK | 10 |
| 5 | 0ms | 800kb | OK | 10 |
| 6 | 0ms | 860kb | OK | 10 |
| 7 | 0ms | 760kb | OK | 10 |
| 8 | 0ms | 756kb | OK | 10 |
| 9 | 0ms | 864kb | OK | 10 |
| 10 | 0ms | 856kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
