Pagini recente » Borderou de evaluare (job #1139684) | Borderou de evaluare (job #942597) | Borderou de evaluare (job #2531836) | Borderou de evaluare (job #1632087) | Borderou de evaluare (job #2187944)
Borderou de evaluare (job #2187944)
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 (*)[10000]’ [-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 | 932kb | OK | 10 |
2 | 0ms | 876kb | OK | 10 |
3 | 0ms | 864kb | Incorect | 0 |
4 | 0ms | 836kb | OK | 10 |
5 | 0ms | 836kb | OK | 10 |
6 | 0ms | 840kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 840kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 836kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 836kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 836kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 40 |