Pagini recente » Borderou de evaluare (job #1830866) | Borderou de evaluare (job #2456383) | Borderou de evaluare (job #2944905) | Borderou de evaluare (job #189649) | Borderou de evaluare (job #2434051)
Borderou de evaluare (job #2434051)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:39: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[10007]' [-Wformat=]
scanf("%d %d\n %s", &n, &k, &s);
^
main.cpp:10:43: 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);
^
main.cpp:11:45: 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);
^
main.cpp:16:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n %s", &n, &k, &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 3ms | 131kb | OK | 10 |
7 | 4ms | 131kb | OK | 10 |
8 | 2ms | 131kb | OK | 10 |
9 | 3ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |