Pagini recente » Borderou de evaluare (job #1296705) | Borderou de evaluare (job #376089) | Borderou de evaluare (job #2048343) | Borderou de evaluare (job #338440) | Borderou de evaluare (job #2187945)
Borderou de evaluare (job #2187945)
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 | 844kb | OK | 10 |
2 | 0ms | 844kb | OK | 10 |
3 | 0ms | 836kb | Incorect | 0 |
4 | 0ms | 840kb | OK | 10 |
5 | 0ms | 840kb | OK | 10 |
6 | 0ms | 884kb | OK | 10 |
7 | 0ms | 892kb | Incorect | 0 |
8 | 0ms | 908kb | Incorect | 0 |
9 | 4ms | 916kb | Incorect | 0 |
10 | 4ms | 932kb | Incorect | 0 |
Punctaj total | 50 |