Pagini recente » Borderou de evaluare (job #2949701) | Clasament ice_1 | Jetoane 2 | Borderou de evaluare (job #2193737) | Borderou de evaluare (job #2468609)
Borderou de evaluare (job #2468609)
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 |
| 1 | 45ms | 22667kb | Incorect | 0 |
| 2 | 46ms | 22630kb | Incorect | 0 |
| 3 | 52ms | 22925kb | Incorect | 0 |
| 4 | 101ms | 23973kb | Incorect | 0 |
| 5 | 123ms | 23650kb | Incorect | 0 |
| 6 | 160ms | 23896kb | Incorect | 0 |
| 7 | 2004ms | 30601kb | Time limit exceeded | 0 |
| 8 | 2001ms | 34242kb | Time limit exceeded | 0 |
| 9 | 2003ms | 33558kb | Time limit exceeded | 0 |
| 10 | 2004ms | 35078kb | Time limit exceeded | 0 |
| 11 | 2004ms | 34996kb | Time limit exceeded | 0 |
| 12 | 2003ms | 36507kb | Time limit exceeded | 0 |
| 13 | 2003ms | 36286kb | Time limit exceeded | 0 |
| 14 | 2000ms | 38531kb | Time limit exceeded | 0 |
| 15 | 2002ms | 42123kb | Time limit exceeded | 0 |
| 16 | 2001ms | 44945kb | Time limit exceeded | 0 |
| 17 | 2003ms | 48193kb | Time limit exceeded | 0 |
| 18 | 2002ms | 50831kb | Time limit exceeded | 0 |
| 19 | 2001ms | 52228kb | Time limit exceeded | 0 |
| 20 | 2002ms | 54013kb | Time limit exceeded | 0 |
| Punctaj total | 0 |