Pagini recente » Borderou de evaluare (job #703752) | Borderou de evaluare (job #691008) | Borderou de evaluare (job #97308) | Borderou de evaluare (job #3224292) | Borderou de evaluare (job #1237022)
Borderou de evaluare (job #1237022)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:36: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[55001]’ [-Wformat=]
scanf("%ld %ld \n%s", &n, &k, &s);
^
user.cpp:18:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[s[p]]=1;
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.in", "r", stdin);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.out", "w", stdout);
^
user.cpp:12:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld \n%s", &n, &k, &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 436kb | OK | 10 |
2 | 20ms | 432kb | OK | 10 |
3 | Depăşit | 448kb | Time limit exceeded. | 0 |
4 | Depăşit | 456kb | Time limit exceeded. | 0 |
5 | Depăşit | 452kb | Time limit exceeded. | 0 |
6 | Depăşit | 416kb | Time limit exceeded. | 0 |
7 | Depăşit | 432kb | Time limit exceeded. | 0 |
8 | Depăşit | 428kb | Time limit exceeded. | 0 |
9 | Depăşit | 444kb | Time limit exceeded. | 0 |
10 | Depăşit | 452kb | Time limit exceeded. | 0 |
Punctaj total | 20 |