Borderou de evaluare (job #2468609)

Utilizator MKopchevMartin Kopchev MKopchev Data 5 octombrie 2019 18:16:43
Problema Frequent Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:139:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[400042]' [-Wformat=] scanf("%s",&str); ^ In file included from /usr/include/c++/6/cassert:44:0, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:33, from main.cpp:2: main.cpp:187:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] assert(inv_array[i]<where.size()); ~~~~~~~~~~~~^~~~~~~~~~~~~ main.cpp:133:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("frequent.in","r",stdin); ^ main.cpp:134:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("frequent.out","w",stdout); ^ main.cpp:136:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&k); ^ main.cpp:139:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&str); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
145ms22667kbIncorect0
246ms22630kbIncorect0
352ms22925kbIncorect0
4101ms23973kbIncorect0
5123ms23650kbIncorect0
6160ms23896kbIncorect0
72004ms30601kbTime limit exceeded0
82001ms34242kbTime limit exceeded0
92003ms33558kbTime limit exceeded0
102004ms35078kbTime limit exceeded0
112004ms34996kbTime limit exceeded0
122003ms36507kbTime limit exceeded0
132003ms36286kbTime limit exceeded0
142000ms38531kbTime limit exceeded0
152002ms42123kbTime limit exceeded0
162001ms44945kbTime limit exceeded0
172003ms48193kbTime limit exceeded0
182002ms50831kbTime limit exceeded0
192001ms52228kbTime limit exceeded0
202002ms54013kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?