Pagini recente » Borderou de evaluare (job #1274440) | Borderou de evaluare (job #2529615) | Borderou de evaluare (job #1672970) | Borderou de evaluare (job #3043162) | Borderou de evaluare (job #1597710)
Borderou de evaluare (job #1597710)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[10005]’ [-Wformat=]
scanf("%d%d%s",&n,&k,&s);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alibaba.in","r",stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alibaba.out","w",stdout);
^
user.cpp:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%s",&n,&k,&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 256kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 260kb | OK | 10 |
| 5 | 0ms | 268kb | OK | 10 |
| 6 | 0ms | 272kb | OK | 10 |
| 7 | 0ms | 272kb | OK | 10 |
| 8 | 0ms | 268kb | OK | 10 |
| 9 | 0ms | 268kb | OK | 10 |
| 10 | 0ms | 268kb | OK | 10 |
| Punctaj total | 100 |