Pagini recente » Borderou de evaluare (job #1915833) | Borderou de evaluare (job #2538934) | Borderou de evaluare (job #2537605) | Borderou de evaluare (job #2514899) | Borderou de evaluare (job #1201556)
Borderou de evaluare (job #1201556)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[500010]’ [-Wformat=]
fscanf(in,"%s",&c);
^
user.cpp:38:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
k=a[c[i]];
^
user.cpp:39:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
l=b[c[i]];
^
user.cpp:21:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%s",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 240kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 244kb | OK | 10 |
4 | 0ms | 244kb | OK | 10 |
5 | 0ms | 252kb | OK | 10 |
6 | 0ms | 256kb | OK | 10 |
7 | 12ms | 340kb | OK | 10 |
8 | 48ms | 588kb | OK | 10 |
9 | 72ms | 732kb | OK | 10 |
10 | 76ms | 732kb | OK | 10 |
Punctaj total | 100 |