Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2617455)
| Utilizator | Data | 21 mai 2020 19:36:39 | |
|---|---|---|---|
| Problema | Interzis | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:30: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[1020]' [-Wformat=]
scanf("%d%d\n%s",&n,&l,&s);
^
main.cpp:31:10: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
s[0]=NULL;
^~~~
main.cpp:25:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("interzis.in","r",stdin);
^
main.cpp:26:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("interzis.out","w",stdout);
^
main.cpp:28:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n%s",&n,&l,&s);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 14ms | 131kb | OK | 10 | 10 |
| 2 | 14ms | 131kb | OK | 10 | 10 |
| 3 | 13ms | 131kb | OK | 10 | 10 |
| 4 | 12ms | 131kb | OK | 10 | 10 |
| 5 | 13ms | 131kb | OK | 10 | 10 |
| 6 | 12ms | 131kb | OK | 10 | 10 |
| 7 | 11ms | 131kb | OK | 10 | 10 |
| 8 | 14ms | 131kb | OK | 10 | 10 |
| 9 | 211ms | 131kb | OK | 10 | 20 |
| 10 | 208ms | 131kb | OK | 10 | |
| Punctaj total | 100 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
