Pagini recente » Borderou de evaluare (job #273404) | Borderou de evaluare (job #2211555) | Borderou de evaluare (job #2176721) | Borderou de evaluare (job #450532) | Borderou de evaluare (job #2187999)
Borderou de evaluare (job #2187999)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100009]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:34:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(Q.size()>k+1)
~~~~~~~~^~~~
user.cpp:38:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(Q.size()-1==k)
~~~~~~~~~~^~~
user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("propozitie.in","r",stdin);
^
user.cpp:19:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("propozitie.out","w",stdout);
^
user.cpp:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 840kb | OK | 10 |
2 | 0ms | 840kb | OK | 10 |
3 | 0ms | 840kb | OK | 10 |
4 | 0ms | 836kb | OK | 10 |
5 | 0ms | 836kb | OK | 10 |
6 | 0ms | 888kb | OK | 10 |
7 | 0ms | 896kb | OK | 10 |
8 | 4ms | 904kb | OK | 10 |
9 | 4ms | 912kb | OK | 10 |
10 | 4ms | 932kb | OK | 10 |
Punctaj total | 100 |