Borderou de evaluare (job #2468603)

Utilizator MKopchevMartin Kopchev MKopchev Data 5 octombrie 2019 18:10:24
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:138: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:1: main.cpp:186:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] assert(inv_array[i]<where.size()); ~~~~~~~~~~~~^~~~~~~~~~~~~ main.cpp:132: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:133: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:135:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&k); ^ main.cpp:138: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
145ms22589kbIncorect0
247ms22740kbIncorect0
350ms22806kbIncorect0
4109ms23945kbIncorect0
5123ms23625kbIncorect0
6154ms23969kbIncorect0
72003ms30642kbTime limit exceeded0
82004ms34185kbTime limit exceeded0
92001ms33570kbTime limit exceeded0
102002ms35123kbTime limit exceeded0
112000ms35057kbTime limit exceeded0
122004ms36511kbTime limit exceeded0
132003ms36286kbTime limit exceeded0
142000ms38531kbTime limit exceeded0
152002ms42065kbTime limit exceeded0
162002ms44945kbTime limit exceeded0
172004ms48189kbTime limit exceeded0
182004ms50855kbTime limit exceeded0
192003ms52154kbTime limit exceeded0
202000ms53358kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?