Pagini recente » Borderou de evaluare (job #2893193) | Borderou de evaluare (job #478551) | Borderou de evaluare (job #1033308) | Borderou de evaluare (job #2848325) | Borderou de evaluare (job #1883780)
Borderou de evaluare (job #1883780)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:24:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100005]’ [-Wformat=]
scanf("%d \n%s",&P,&s);
^
user.cpp: In function ‘void solve1()’:
user.cpp:35:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f[s[i]]==0)
^
user.cpp:37:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[s[i]]=1;
^
user.cpp: In function ‘void read()’:
user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("charlie.in","r",stdin);
^
user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("charlie.out","w",stdout);
^
user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d \n%s",&P,&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | Incorect | 0 |
| 2 | 0ms | 268kb | Incorect | 0 |
| 3 | 0ms | 268kb | Incorect | 0 |
| 4 | 0ms | 332kb | Incorect | 0 |
| 5 | 0ms | 360kb | Incorect | 0 |
| 6 | 0ms | 244kb | Incorect | 0 |
| 7 | 0ms | 236kb | Incorect | 0 |
| 8 | 0ms | 240kb | Incorect | 0 |
| 9 | 0ms | 248kb | Incorect | 0 |
| 10 | 0ms | 276kb | Incorect | 0 |
| 11 | 0ms | 336kb | Incorect | 0 |
| 12 | 0ms | 304kb | Incorect | 0 |
| 13 | 0ms | 328kb | Incorect | 0 |
| 14 | 0ms | 340kb | Incorect | 0 |
| 15 | 0ms | 304kb | Incorect | 0 |
| 16 | 0ms | 320kb | Incorect | 0 |
| 17 | 0ms | 324kb | Incorect | 0 |
| 18 | 0ms | 332kb | Incorect | 0 |
| 19 | 0ms | 336kb | Incorect | 0 |
| 20 | 0ms | 240kb | Incorect | 0 |
| Punctaj total | 0 |